chore(userbot): apply ruff check --fix and ruff format

- ruff check --fix: 210 auto-fixed errors (import sorting, trailing
  whitespace, unused imports, f-string fixups, deprecated annotations)
- ruff format: 104 files reformatted to consistent style
- 268 non-auto-fixable issues remain (S113 requests timeout, etc.)
This commit is contained in:
2026-06-19 12:19:01 +02:00
parent bd9724da69
commit 0506aaaac8
104 changed files with 4338 additions and 5319 deletions
+5 -6
View File
@@ -20,18 +20,17 @@
from pyrogram import Client, filters
from pyrogram.types import Message
from utils.misc import modules_help, prefix
@Client.on_message(filters.command(["say", "s"], prefix) & filters.me)
@Client.on_message(filters.command(['say', 's'], prefix) & filters.me)
async def say(_, message: Message):
if len(message.command) == 1:
return
command = " ".join(message.command[1:])
await message.edit(f"<code>{command}</code>")
command = ' '.join(message.command[1:])
await message.edit(f'<code>{command}</code>')
modules_help["say"] = {
"say [command]*": "Send message that won't be interpreted by userbot",
modules_help['say'] = {
'say [command]*': "Send message that won't be interpreted by userbot",
}