mirror of
https://github.com/Xtao-Labs/sticker-captcha-bot.git
synced 2024-11-25 18:03:32 +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):
|
async def re_verify(client: Client, message: Message):
|
||||||
if not message.from_user or not message.reply_to_message:
|
if not message.from_user or not message.reply_to_message:
|
||||||
msg: Message = await message.reply("请回复一条消息来使 Ta 重新验证。")
|
msg: Message = await message.reply("请回复一条消息来使 Ta 重新验证。")
|
||||||
|
add_delete_message_job(message, 10)
|
||||||
add_delete_message_job(msg, 10)
|
add_delete_message_job(msg, 10)
|
||||||
return
|
return
|
||||||
if not message.reply_to_message.from_user:
|
if not message.reply_to_message.from_user:
|
||||||
|
Loading…
Reference in New Issue
Block a user