aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuker667 <huker@tuta.io>2026-05-22 21:06:49 +0300
committerhuker667 <huker@tuta.io>2026-05-22 21:06:49 +0300
commit958880b7daa327513d2b1249c6e15483db709d46 (patch)
tree551bfa1f096c47c59069e964743c98b2d82a3e1f
parent8d75a5a5f3ca6fa56f1f3ef3cf5a00cc2ac3dcb2 (diff)
downloaduzbekgpt-958880b7daa327513d2b1249c6e15483db709d46.tar.gz
uzbekgpt-958880b7daa327513d2b1249c6e15483db709d46.tar.bz2
uzbekgpt-958880b7daa327513d2b1249c6e15483db709d46.zip
add /ben and /reporn da
-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]: