From 1fc791bb68261109ce442930f318698f8a072ac2 Mon Sep 17 00:00:00 2001 From: Clansty Date: Sat, 28 Dec 2024 21:40:32 +0800 Subject: [PATCH] fix: wrong notice_type sub_type --- src/onebot/event/notice/OB11GroupNameEvent.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/onebot/event/notice/OB11GroupNameEvent.ts b/src/onebot/event/notice/OB11GroupNameEvent.ts index ab8f206aa..18730c009 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) {