Revert "refactor: extract userbot to standalone repo, add as git submodule"

This reverts commit 3c383db9a7.
This commit is contained in:
2026-06-19 23:11:27 +02:00
parent d74a705d53
commit 1930600c40
134 changed files with 15257 additions and 4 deletions
+44
View File
@@ -0,0 +1,44 @@
import random
from pyrogram import Client, enums, filters
from pyrogram.types import Message
from utils.misc import modules_help, prefix
from utils.scripts import format_exc
emojis = [
'👍',
'👎',
'❤️',
'🔥',
'🥰',
'👏',
'😁',
'🤔',
'🤯',
'😱',
'🤬',
'😢',
'🎉',
'🤩',
'🤮',
'💩',
]
@Client.on_message(filters.command('reactspam', prefix) & filters.me)
async def reactspam(client: Client, message: Message):
await message.edit('<b>One moment...</b>', parse_mode=enums.ParseMode.HTML)
try:
selected_emojis = random.sample(emojis, 3)
print(selected_emojis)
await client.send_reaction(
message.chat.id,
message_id=message.reply_to_message.id,
emoji=selected_emojis,
)
await message.delete()
except Exception as e:
return await message.edit_text(format_exc(e))
modules_help['reactionspam'] = {'reactspam [amount]* [emoji]*': 'spam reactions'}