mirror of
https://github.com/Xtao-Labs/sticker-captcha-bot.git
synced 2024-11-24 17:19:43 +00:00
fix: a bug
This commit is contained in:
parent
b1a597425c
commit
696ae2a329
@ -27,6 +27,8 @@ async def re_verify(client: Client, message: Message):
|
||||
return
|
||||
|
||||
user = message.reply_to_message.from_user
|
||||
if user.is_self or user.is_verified or user.is_bot or user.is_deleted or user.is_support:
|
||||
return
|
||||
with contextlib.suppress(Exception):
|
||||
await message.delete()
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user