添加 sign 遗漏的删除消息 job

This commit is contained in:
xtaodada 2022-07-19 18:27:49 +08:00
parent 18ac3da615
commit 98ed978b11
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -106,7 +106,9 @@ class Sign(BasePlugins):
context.chat_data["sign_command_data"] = sign_command_data
user_info = await service.user_service_db.get_user_info(user.id)
if user_info.user_id == 0:
await update.message.reply_text("未查询到账号信息,请先私聊派蒙绑定账号")
reply_message = await update.message.reply_text("未查询到账号信息,请先私聊派蒙绑定账号")
if filters.ChatType.GROUPS.filter(message):
self._add_delete_message_job(context, reply_message.chat_id, reply_message.message_id)
return ConversationHandler.END
if user_info.service == ServiceEnum.NULL:
keyboard = [