feat(onebot): report the invited account on group invite events

request.group.invite already identified the inviter. The event now
also reports the invited account when QQ provides it.

Closes #394
This commit is contained in:
DrSmoothl committed 2026-08-19 00:23:40 +08:00
1 parent 0a924634b2
commit 5a10fc4c9c
12 files changed
+181 -3

No files matched your search

+2
View File
@@ -57,6 +57,8 @@ export interface OneBotRequestEvent extends OneBotBaseEvent {
sub_type?: string;
group_id?: number;
user_id?: number;
/** Invitee QQ number on `request.group` / `invite`. */
invited_id?: number;
comment?: string;
}