From b5c986f78462eb3d8415e1874a2e957e6392a602 Mon Sep 17 00:00:00 2001 From: huker667 Date: Tue, 14 Jul 2026 08:48:13 +0300 Subject: alo /aben --- commands.py | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/commands.py b/commands.py index 9944314..b521ad1 100644 --- a/commands.py +++ b/commands.py @@ -31,7 +31,20 @@ from supergenerator import * router = Router() -commands = ["/stats", "/broadcast", "/ben", "/reporn", "/start", "/prompt", "/config", "/settings", "/clear", "/stop", "/markpidor"] +commands = [ + "/stats", + "/broadcast", + "/ben", + "/reporn", + "/start", + "/prompt", + "/config", + "/settings", + "/clear", + "/stop", + "/markpidor", + "/aben" +] @router.message(Command("stats")) async def stats_handler(message: Message): @@ -146,6 +159,26 @@ async def ben_handler(message: Message): return +@router.message(Command("aben")) +async def ben_handler(message: Message): + if message.chat.type in [ChatType.GROUP, ChatType.SUPERGROUP]: + if message.chat.id in ABEN_IDS: + replied = message.reply_to_message or None + if replied: + name = replied.from_user.first_name + ben_id = replied.from_user.id + else: + name = message.from_user.first_name + ben_id = message.from_user.id + + await message.reply(f"""✅ *Benned* + +• 👤 *User:* {name} ({ben_id}) + +👮 *Admin:* a (https://t.me/U837373) (8539910994) +💬 *Reason:* a completely dishonest person: he lies, and even admits it himself. He has no shame in lying. He is fake and hypocritical. He says one thing to your face and another behind your back. And, if he gets the chance, he'll stab you in the back.""") + return + @router.message(Command("reporn")) async def reporn_handler(message: Message): -- cgit v1.3.1