From 30cd89714ffbcad04886c819c660ebd961fe2037 Mon Sep 17 00:00:00 2001 From: omg-xtao <100690902+omg-xtao@users.noreply.github.com> Date: Sat, 1 Oct 2022 14:55:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E4=BF=AE=E6=94=B9=E6=B7=B1?= =?UTF-8?q?=E6=B8=8A=E6=95=B0=E6=8D=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/abyss.py | 2 +- resources/genshin/abyss/abyss.html | 3 +++ resources/genshin/abyss/example.html | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/genshin/abyss.py b/plugins/genshin/abyss.py index 0a8c33ee..18e92695 100644 --- a/plugins/genshin/abyss.py +++ b/plugins/genshin/abyss.py @@ -126,6 +126,6 @@ class Abyss(Plugin, BasePlugin): return await message.reply_chat_action(ChatAction.UPLOAD_PHOTO) png_data = await self.template_service.render('genshin/abyss', "abyss.html", abyss_data, - {"width": 690, "height": 504}, full_page=False) + {"width": 865, "height": 504}, full_page=False) await message.reply_photo(png_data, filename=f"abyss_{user.id}.png", allow_sending_without_reply=True) diff --git a/resources/genshin/abyss/abyss.html b/resources/genshin/abyss/abyss.html index 305590ab..c57f8525 100644 --- a/resources/genshin/abyss/abyss.html +++ b/resources/genshin/abyss/abyss.html @@ -7,7 +7,10 @@