🐛 移除自动消息删除

This commit is contained in:
kotoriのねこ 2022-09-09 12:45:03 -05:00
parent 102a6fd07f
commit c21e906804
No known key found for this signature in database
GPG Key ID: 8B213C1B412C672C

View File

@ -107,9 +107,6 @@ class PlayerCards(Plugin, BasePlugin):
reply_markup=InlineKeyboardMarkup(buttons)) reply_markup=InlineKeyboardMarkup(buttons))
if reply_message.photo: if reply_message.photo:
self.temp_photo = reply_message.photo[-1].file_id self.temp_photo = reply_message.photo[-1].file_id
if filters.ChatType.GROUPS.filter(reply_message):
self._add_delete_message_job(context, message.chat_id, message.message_id, 300)
self._add_delete_message_job(context, reply_message.chat_id, reply_message.message_id, 300)
return return
for characters in data.characters: for characters in data.characters:
if characters.name == character_name: if characters.name == character_name: