fix: complete the migration of the group_list configuration to use AstrBot Unified Message Origins (UMOs).

Changes Implemented:
Configuration: group_list now supports UMOs (e.g., qq_123456:GroupMessage:123456) while maintaining backward compatibility for simple group IDs.
Logic: ConfigManager and AutoScheduler were updated to handle UMOs for permission checking and group fetching.
Commands: The /分析设置 command now uses the full UMO when enabling/disabling analysis for a group.
This commit is contained in:
SXP-Simon
2026-02-08 20:19:07 +08:00
parent e24449cac1
commit c3cc2fd1f4
4 changed files with 95 additions and 25 deletions
+2 -2
View File
@@ -8,9 +8,9 @@
},
"group_list": {
"type": "list",
"description": "群组名单列表",
"description": "群组白/黑名单列表",
"default": [],
"hint": "黑白名单模式下使用的群列表",
"hint": "黑白名单模式下使用的群列表。支持填写 AstrBot UMO (如 qq_123456:GroupMessage:123456) 或 纯群号 (如 123456,将尝试自动匹配)。可以使用 /sid 命令查看当前会话的 UMO。",
"items": {
"type": "string"
}