fix: a bug

This commit is contained in:
xtaodada 2022-07-05 18:44:14 +08:00
parent b1a597425c
commit 696ae2a329
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -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: