|
|
@@ -53,8 +53,8 @@ async def pmpermit_func(_, message):
|
|
|
else:
|
|
|
flood[str(user_id)] = 1
|
|
|
if flood[str(user_id)] > 5:
|
|
|
- await app2.block_user(user_id)
|
|
|
await message.reply_text("SPAM DETECTED, USER BLOCKED.")
|
|
|
+ await app2.block_user(user_id)
|
|
|
return
|
|
|
results = await app2.get_inline_bot_results(BOT_ID, f"pmpermit {user_id}")
|
|
|
await app2.send_inline_bot_result(
|