رفع باگ

This commit is contained in:
2026-11-16 22:05:00 +03:30
parent b5c03aa315
commit ab6eb809fd
+4 -1
View File
@@ -75,6 +75,7 @@ async def start(message):
"• اخراج کاربر\n"
"• سکوت کاربر\n"
"• لغو سکوت کاربر\n"
"• ضد اسپم\n"
"• اخطار کاربر\n\n"
"💡 ربات را به گروه اضافه و ادمین کنید."
)
@@ -149,7 +150,7 @@ async def mute_by_reply(message):
@bot.on_message(regex(r"^(رفع سکوت|unmute)$"))
async def mute_by_reply(message):
async def unmute_by_reply(message):
if not await guard(message):
return
@@ -250,6 +251,8 @@ async def anti_spam(message):
user_id = message.author.id
current_time = time.time()
signature = get_message_signature(message)
if signature is None:
return
# ۲. ساخت دفترچه
if chat_id not in spam_memory: