fix: wrong notice_type sub_type

This commit is contained in:
Clansty 2024-12-28 21:40:32 +08:00
parent 1cda07d5a8
commit e5657b95dc

View File

@ -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) {