diff --git a/src/onebot/event/notice/OB11GroupNameEvent.ts b/src/onebot/event/notice/OB11GroupNameEvent.ts index ab8f206a..18730c00 100644 --- a/src/onebot/event/notice/OB11GroupNameEvent.ts +++ b/src/onebot/event/notice/OB11GroupNameEvent.ts @@ -2,7 +2,8 @@ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent'; import { NapCatCore } from '@/core'; export class OB11GroupNameEvent extends OB11GroupNoticeEvent { - notice_type = 'group_name'; + notice_type = 'notify'; + sub_type = 'group_name'; name_new: string; constructor(core: NapCatCore, groupId: number, userId: number, nameNew: string) {