refactor: userbot to subtree

This commit is contained in:
2026-06-19 23:20:13 +02:00
parent 1930600c40
commit 69ffd3682e
134 changed files with 224 additions and 15451 deletions
-16
View File
@@ -1,16 +0,0 @@
from random import randint
from pyrogram import Client, enums, filters
from pyrogram.types import Message
from utils.misc import modules_help, prefix
@Client.on_message(filters.command('durov', prefix) & filters.me)
async def durov(_, message: Message):
await message.edit(
f'<b>Random post from channel: https://t.me/durov/{randint(21, 36500)}</b>', # noqa: S311
parse_mode=enums.ParseMode.HTML,
)
modules_help['durov'] = {'durov': 'Send random post from durov channel'}