mirror of
https://github.com/Xtao-Labs/sticker-captcha-bot.git
synced 2024-11-21 22:58:08 +00:00
fix: a bug
This commit is contained in:
parent
0ec2d8b092
commit
ba8e6beb2e
@ -19,6 +19,7 @@ MSG = """您好 %s ,您被管理员要求重新验证。
|
||||
async def re_verify(client: Client, message: Message):
|
||||
if not message.from_user or not message.reply_to_message:
|
||||
msg: Message = await message.reply("请回复一条消息来使 Ta 重新验证。")
|
||||
add_delete_message_job(message, 10)
|
||||
add_delete_message_job(msg, 10)
|
||||
return
|
||||
if not message.reply_to_message.from_user:
|
||||
|
Loading…
Reference in New Issue
Block a user