aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/commands.py b/commands.py
index c6430b9..ace141e 100644
--- a/commands.py
+++ b/commands.py
@@ -57,6 +57,26 @@ async def broadcast_handler(message: Message):
)
+@router.message(Command("ben"))
+async def start_handler(message: Message):
+ if message.chat.type in [ChatType.GROUP, ChatType.SUPERGROUP]:
+ await message.reply(
+ "вы забанены за Botting, spamming, and coordinated inauthentic behavior.😡✅"
+ )
+ return
+
+
+
+@router.message(Command("reporn"))
+async def start_handler(message: Message):
+ user_name = message.from_user.first_name or message.sender_chat.title or "вы"
+ if message.chat.type in [ChatType.GROUP, ChatType.SUPERGROUP]:
+ await message.reply(
+ f"отправлен репорт на {user_name}!"
+ )
+ return
+
+
@router.message(Command("start"))
async def start_handler(message: Message):
if message.chat.type in [ChatType.GROUP, ChatType.SUPERGROUP]: