fix(onebot): expose robot status for group members

Fetch QQ's versioned robot UIN ranges, classify and persist member status, and surface is_robot from both group member actions.

Preserve unknown legacy cache entries and fail visibly when classification is unavailable.

Closes #265
This commit is contained in:
DrSmoothl committed 2026-07-21 23:27:01 +08:00
1 parent ff60221330
commit eed2e692b1
16 files changed
+596 -36

No files matched your search

+8
View File
@@ -4512,6 +4512,10 @@
"type": "string",
"description": "群名片"
},
"is_robot": {
"type": "boolean",
"description": "是否为机器人"
},
"sex": {
"type": "string",
"enum": [
@@ -4663,6 +4667,10 @@
"type": "string",
"description": "群名片"
},
"is_robot": {
"type": "boolean",
"description": "是否为机器人"
},
"sex": {
"type": "string",
"enum": [
+8
View File
@@ -4515,6 +4515,10 @@ export const ACTIONS: CatalogAction[] = [
"type": "string",
"description": "群名片"
},
"is_robot": {
"type": "boolean",
"description": "是否为机器人"
},
"sex": {
"type": "string",
"enum": [
@@ -4666,6 +4670,10 @@ export const ACTIONS: CatalogAction[] = [
"type": "string",
"description": "群名片"
},
"is_robot": {
"type": "boolean",
"description": "是否为机器人"
},
"sex": {
"type": "string",
"enum": [