feat(onebot): expose group member mute expiry

Return the mute expiry timestamp from group member list and detail actions, using zero when no active mute is available.

Keep the public action descriptions and generated MCP catalog aligned, and cover muted, unmuted, and unavailable member responses.

Refs #314
This commit is contained in:
DrSmoothl committed 2026-08-05 12:28:47 +08:00
1 parent 634097460c
commit 81699b839d
5 files changed
+94 -1

No files matched your search

+8
View File
@@ -5080,6 +5080,10 @@
"type": "integer",
"description": "最后发言时间戳(秒)"
},
"shut_up_timestamp": {
"type": "integer",
"description": "禁言结束时间戳(秒,未禁言时为 0)"
},
"level": {
"type": "string",
"description": "群等级"
@@ -5235,6 +5239,10 @@
"type": "integer",
"description": "最后发言时间戳(秒)"
},
"shut_up_timestamp": {
"type": "integer",
"description": "禁言结束时间戳(秒,未禁言时为 0)"
},
"level": {
"type": "string",
"description": "群等级"
+8
View File
@@ -5083,6 +5083,10 @@ export const ACTIONS: CatalogAction[] = [
"type": "integer",
"description": "最后发言时间戳(秒)"
},
"shut_up_timestamp": {
"type": "integer",
"description": "禁言结束时间戳(秒,未禁言时为 0)"
},
"level": {
"type": "string",
"description": "群等级"
@@ -5238,6 +5242,10 @@ export const ACTIONS: CatalogAction[] = [
"type": "integer",
"description": "最后发言时间戳(秒)"
},
"shut_up_timestamp": {
"type": "integer",
"description": "禁言结束时间戳(秒,未禁言时为 0)"
},
"level": {
"type": "string",
"description": "群等级"