fix: a bug

This commit is contained in:
xtaodada 2022-07-05 18:52:18 +08:00
parent 0ec2d8b092
commit ba8e6beb2e
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

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