mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 12:51:35 +00:00
允许找不到信息时 直接发出
修复当请求花费超过60秒 回复的信息已经删除 导致的无法回复抛出异常
This commit is contained in:
parent
a329d27402
commit
d3356af95d
@ -119,7 +119,7 @@ class Sign(BasePlugins):
|
||||
else:
|
||||
await message.reply_chat_action(ChatAction.TYPING)
|
||||
sign = await self._start_sign(user_info, user_info.service)
|
||||
reply_message = await message.reply_text(sign)
|
||||
reply_message = await message.reply_text(sign, allow_sending_without_reply=True)
|
||||
if filters.ChatType.GROUPS.filter(reply_message):
|
||||
self._add_delete_message_job(context, reply_message.chat_id, reply_message.message_id)
|
||||
return ConversationHandler.END
|
||||
|
Loading…
Reference in New Issue
Block a user