mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 18:04:10 +00:00
🐛 修复 gacha
插件发送错误数据的问题
This commit is contained in:
parent
79ef5cd08d
commit
f00c4c0f11
@ -225,7 +225,7 @@ class Gacha(Plugin, BasePlugin):
|
||||
"genshin/gacha/gacha.html", template_data, {"width": 1157, "height": 603}, False
|
||||
)
|
||||
|
||||
reply_message = await message.reply_photo(png_data)
|
||||
reply_message = await message.reply_photo(png_data.photo)
|
||||
if filters.ChatType.GROUPS.filter(message):
|
||||
self._add_delete_message_job(context, reply_message.chat_id, reply_message.message_id, 300)
|
||||
self._add_delete_message_job(context, message.chat_id, message.message_id, 300)
|
||||
|
Loading…
Reference in New Issue
Block a user