diff --git a/plugins/godcmd/godcmd.py b/plugins/godcmd/godcmd.py index 2c354ff..1baf5b1 100644 --- a/plugins/godcmd/godcmd.py +++ b/plugins/godcmd/godcmd.py @@ -136,9 +136,9 @@ ADMIN_COMMANDS = { # 定义帮助函数 def get_help_text(isadmin, isgroup): - help_text = "通用指令:\n" + help_text = "通用指令\n" for cmd, info in COMMANDS.items(): - if cmd == "auth": # 不提示认证指令 + if cmd in ["auth", "set_openai_api_key", "reset_openai_api_key", "set_gpt_model", "reset_gpt_model", "gpt_model"]: # 不显示帮助指令 continue if cmd == "id" and conf().get("channel_type", "wx") not in ["wxy", "wechatmp"]: continue @@ -151,7 +151,7 @@ def get_help_text(isadmin, isgroup): # 插件指令 plugins = PluginManager().list_plugins() - help_text += "\n目前可用插件有:" + help_text += "\n可用插件" for plugin in plugins: if plugins[plugin].enabled and not plugins[plugin].hidden: namecn = plugins[plugin].namecn diff --git a/plugins/linkai/linkai.py b/plugins/linkai/linkai.py index e40140a..126bbe9 100644 --- a/plugins/linkai/linkai.py +++ b/plugins/linkai/linkai.py @@ -220,7 +220,7 @@ class LinkAI(Plugin): def get_help_text(self, verbose=False, **kwargs): trigger_prefix = _get_trigger_prefix() - help_text = "用于集成 LinkAI 提供的知识库、Midjourney绘画、文档总结对话等能力。\n\n" + help_text = "用于集成 LinkAI 提供的知识库、Midjourney绘画、文档总结、联网搜索等能力。\n\n" if not verbose: return help_text help_text += f'📖 知识库\n - 群聊中指定应用: {trigger_prefix}linkai app 应用编码\n'