优化指令提示

This commit is contained in:
liuwei
2025-04-09 12:47:54 +08:00
parent 0eeb199dfe
commit ea720c4c12
2 changed files with 6 additions and 3 deletions

View File

@@ -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 - 查看未完成任务
"""

View File

@@ -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 - 加入游戏