fix: reference problems

This commit is contained in:
Wesley F. Young committed 2024-08-11 00:45:47 +08:00
1 parent 0f990545d1
commit bacc76d888
7 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ export class OB11GroupBanEvent extends OB11GroupNoticeEvent {
sub_type: 'ban' | 'lift_ban';
constructor(core: NapCatCore, groupId: number, userId: number, operatorId: number, duration: number, sub_type: 'ban' | 'lift_ban') {
super(core);
super(core, groupId, userId);
this.group_id = groupId;
this.operator_id = operatorId;
this.user_id = userId;