mirror of
https://github.com/AstrBotDevs/AstrBot.git
synced 2026-09-24 16:39:52 +08:00
fix: update hint for ID whitelist configuration to clarify behavior when empty (#6611)
* fix: update hint for ID whitelist configuration to clarify behavior when empty * fix: update whitelist hint --------- Co-authored-by: machina <1531829828@qq.com> Co-authored-by: Soulter <905617992@qq.com>
This commit is contained in:
co-authored by
machina
Soulter
parent
5a90b56e45
commit
7008a46158
@@ -3439,7 +3439,7 @@ CONFIG_METADATA_3 = {
|
||||
"description": "白名单 ID 列表",
|
||||
"type": "list",
|
||||
"items": {"type": "string"},
|
||||
"hint": "使用 /sid 获取 ID。",
|
||||
"hint": "使用 /sid 获取 ID。当白名单列表为空时,代表不启用白名单(即所有 ID 都在白名单内)。",
|
||||
},
|
||||
"platform_settings.id_whitelist_log": {
|
||||
"description": "输出日志",
|
||||
|
||||
@@ -697,11 +697,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",
|
||||
|
||||
@@ -699,11 +699,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": "输出日志",
|
||||
|
||||
Reference in New Issue
Block a user