From ea720c4c124a042a271fc617474684169aba6fc6 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 9 Apr 2025 12:47:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8C=87=E4=BB=A4=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/game_task/config.toml | 7 +++++-- plugins/game_task/main.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/game_task/config.toml b/plugins/game_task/config.toml index 5149baf..6287d0a 100644 --- a/plugins/game_task/config.toml +++ b/plugins/game_task/config.toml @@ -1,9 +1,12 @@ [GameTask] enable = true -command = ["game", "任务", "/t", "/a", "/s"] +command = ["/t", "/a", "/s", "/r", "/l", "/h"] command-format = """ -🎮 游戏任务系统指令: +🎮 百科问答指令: /s - 加入游戏 /t - 获取任务 /a <任务ID> <答案> - 提交答案 +/r - 查看排行榜 +/l - 查看活跃任务 +/h - 查看未完成任务 """ \ No newline at end of file diff --git a/plugins/game_task/main.py b/plugins/game_task/main.py index 0f9ae2f..787e7be 100644 --- a/plugins/game_task/main.py +++ b/plugins/game_task/main.py @@ -58,7 +58,7 @@ class GameTaskPlugin(MessagePluginInterface): # 初始化配置 self._commands = self._config.get("GameTask", {}).get("command", - ["game", "任务", "/t", "/a", "/s", "/r", "/l", "/h"]) + ["/t", "/a", "/s", "/r", "/l", "/h"]) self.command_format = self._config.get("GameTask", {}).get("command-format", """ 🎮 百科问答指令: /s - 加入游戏