diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 3ba68fa898..47dffdd56e 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -3308,7 +3308,7 @@ class ChatProviderTemplate(TypedDict): "description": "白名单 ID 列表", "type": "list", "items": {"type": "string"}, - "hint": "使用 /sid 获取 ID。", + "hint": "使用 /sid 获取 ID。当白名单列表为空时,代表不启用白名单(即所有 ID 都在白名单内)。", }, "platform_settings.id_whitelist_log": { "description": "输出日志", 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 b8473dae63..18c78bc829 100644 --- a/dashboard/src/i18n/locales/en-US/features/config-metadata.json +++ b/dashboard/src/i18n/locales/en-US/features/config-metadata.json @@ -628,11 +628,11 @@ "platform_settings": { "enable_id_white_list": { "description": "Enable Whitelist", - "hint": "When enabled, only sessions in the whitelist will be responded to." + "hint": "When enabled, only sessions in the whitelist will be responded to. If the whitelist is empty, the whitelist is disabled and all IDs are allowed." }, "id_whitelist": { "description": "Whitelist ID List", - "hint": "Use /sid to get IDs." + "hint": "Use /sid to get IDs. If the list is empty, it means whitelist is disabled (all IDs are in the whitelist)." }, "id_whitelist_log": { "description": "Output Logs", 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 e3a52258f3..fd5a2a155c 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json +++ b/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json @@ -631,11 +631,11 @@ "platform_settings": { "enable_id_white_list": { "description": "启用白名单", - "hint": "启用后,只有在白名单内的会话会被响应。" + "hint": "启用后,只有在白名单内的会话会被响应,白名单列表为空时代表不启用白名单(所有 ID 都会被放行)。" }, "id_whitelist": { "description": "白名单 ID 列表", - "hint": "使用 /sid 获取 ID。" + "hint": "使用 /sid 获取 ID。列表为空时表示该白名单不启用(即所有 ID 都在白名单内)。" }, "id_whitelist_log": { "description": "输出日志",