mirror of
https://github.com/Nezumi-2711/astrbot_plugin_qq_group_daily_analysis.git
synced 2026-09-22 13:38:43 +00:00
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:
+2
-2
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user