优化指令提示
This commit is contained in:
@@ -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 - 查看未完成任务
|
||||
"""
|
||||
@@ -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 - 加入游戏
|
||||
|
||||
Reference in New Issue
Block a user