From 17ea7287698873b751fcdbe183584da7b3673cf3 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:35:51 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Update=20`help.html`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/help.py | 2 +- resources/bot/help/help.html | 117 ++++++++++++++++++++++------------- 2 files changed, 76 insertions(+), 43 deletions(-) diff --git a/plugins/genshin/help.py b/plugins/genshin/help.py index ad811b03..15320a3b 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": 768, "height": 768}) + help_png = await self.template_service.render("bot/help", "help.html", {}, {"width": 1200, "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] diff --git a/resources/bot/help/help.html b/resources/bot/help/help.html index 26d5721e..31361b0e 100644 --- a/resources/bot/help/help.html +++ b/resources/bot/help/help.html @@ -8,30 +8,31 @@ -
+

TGPaimonBot

使用说明

+
+
+ 需要绑定Cookie +
- 需要绑定Cookie + 需要绑定UID +
- +
-
- -
-

查询命令

- -
+
+
/weapon
查询武器
@@ -40,28 +41,9 @@
/strategy
查询角色攻略
-
-
- /stats - -
-
玩家统计查询
-
-
-
- /sign - -
-
每日签到 | 查询
-
- -
-
- /dailynote - -
-
查询角色当前状态
+
/material
+
角色培养素材查询
@@ -69,31 +51,67 @@
圣遗物评分
- + +
+
+ /stats + +
+
玩家统计查询
+
+
+
+ /player_card + +
+
角色卡片
+
+ +
+
+ /dailynote + +
+
查询角色当前状态
+
/ledger - +
-
查询角色当月旅行扎记
+
查询当月旅行扎记
/abyss - +
查询当期深渊螺旋战绩
-
-
/material
-
角色培养素材查询
-
-
-
/abyss_team
+
+ /abyss_team + +
深渊推荐配队
- + +
+
/gacha_log
+
抽卡记录
+
+
+
/gacha_count
+
抽卡统计
+
+
+
+ /sign + +
+
每日签到 | 查询
+
+
/hilichurls
丘丘语字典
@@ -108,7 +126,7 @@

其他命令

-
+
/gacha
抽卡模拟器(非洲人模拟器)
@@ -119,6 +137,20 @@ 派蒙的十万个为什么
+ +
+
/gacha_log_import
+
导入抽卡记录
+
+
+
/gacha_log_export
+
导出抽卡记录
+
+
+
/gacha_log_delete
+
删除抽卡记录
+
+
/setuid
添加UID(请私聊BOT)
@@ -127,6 +159,7 @@
/setcookies
添加Cookies(请私聊BOT)
+
/cancel