diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 21e4b1a8a..d5ecb4398 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -395,7 +395,6 @@ CONFIG_METADATA_2 = { "discord_token": "", "discord_proxy": "", "discord_command_register": True, - "discord_guild_id_for_debug": "", "discord_activity_name": "", }, "Misskey": { @@ -755,7 +754,8 @@ CONFIG_METADATA_2 = { "hint": "可选的代理地址:http://ip:port", }, "discord_command_register": { - "description": "是否自动将插件指令注册为 Discord 斜杠指令", + "description": "注册 Discord 指令", + "hint": "启用后,自动将插件指令注册为 Discord 斜杠指令", "type": "bool", }, "discord_activity_name": { diff --git a/dashboard/src/i18n/locales/en-US/features/config-metadata.json b/dashboard/src/i18n/locales/en-US/features/config-metadata.json index 2f7db9b42..b59774ee8 100644 --- a/dashboard/src/i18n/locales/en-US/features/config-metadata.json +++ b/dashboard/src/i18n/locales/en-US/features/config-metadata.json @@ -370,7 +370,8 @@ "hint": "Optional Discord activity name. Leave empty to disable." }, "discord_command_register": { - "description": "Auto-register plugin commands as Discord slash commands" + "description": "Register Discord slash commands", + "hint": "When enabled, AstrBot will automatically register plugin commands as Discord slash commands" }, "discord_proxy": { "description": "Discord Proxy URL", diff --git a/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json b/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json index 57e092960..4bd3e4260 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json +++ b/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json @@ -373,7 +373,8 @@ "hint": "可选的 Discord 活动名称。留空则不设置活动。" }, "discord_command_register": { - "description": "是否自动将插件指令注册为 Discord 斜杠指令" + "description": "注册 Discord 指令", + "hint": "启用后,自动将插件指令注册为 Discord 斜杠指令" }, "discord_proxy": { "description": "Discord 代理地址",