From f00c4c0f11088eff6839171a3c969c8e10536198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Sat, 22 Oct 2022 17:03:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20`gacha`=20?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E5=8F=91=E9=80=81=E9=94=99=E8=AF=AF=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/gacha/gacha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/genshin/gacha/gacha.py b/plugins/genshin/gacha/gacha.py index 37fe9c81..e73276db 100644 --- a/plugins/genshin/gacha/gacha.py +++ b/plugins/genshin/gacha/gacha.py @@ -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)