feat: initGroupListener

This commit is contained in:
Wesley F. Young
2024-08-11 18:33:23 +08:00
parent 4e7595d8d1
commit d5eaeb429a
3 changed files with 145 additions and 6 deletions

View File

@@ -9,10 +9,12 @@ export class OB11GroupRequestEvent extends OB11GroupNoticeEvent {
user_id: number;
comment: string;
flag: string;
sub_type: string;
constructor(core: NapCatCore, groupId: number, userId: number, comment: string, flag: string) {
constructor(core: NapCatCore, groupId: number, userId: number, sub_type: string, comment: string, flag: string) {
super(core, groupId, userId);
this.user_id = userId;
this.sub_type = sub_type;
this.comment = comment;
this.flag = flag;
}