From 28330507d164666f3ba884c400a2963eb316eed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Tue, 11 Oct 2022 20:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Update=20`help`=20plugin=20templ?= =?UTF-8?q?ate=20render=20length?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/genshin/help.py b/plugins/genshin/help.py index 15320a3..1989718 100644 --- a/plugins/genshin/help.py +++ b/plugins/genshin/help.py @@ -28,7 +28,7 @@ class HelpPlugin(Plugin): logger.info(f"用户 {user.full_name}[{user.id}] 发出help命令") if self.file_id is None or bot.config.debug: await message.reply_chat_action(ChatAction.TYPING) - help_png = await self.template_service.render("bot/help", "help.html", {}, {"width": 1200, "height": 900}) + help_png = await self.template_service.render("bot/help", "help.html", {}, {"width": 1280, "height": 900}) await message.reply_chat_action(ChatAction.UPLOAD_PHOTO) reply_photo = await message.reply_photo(help_png, filename="help.png", allow_sending_without_reply=True) photo = reply_photo.photo[0]