Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion astrbot/core/config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": "输出日志",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": "输出日志",
Expand Down