add /ben and /reporn da
This commit is contained in:
1 parent
8d75a5a5f3
commit
958880b7da
1 file changed
+20
+20
@@ -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]:
|
||||
|
||||
Reference in new issue
Block a user