Merge pull request #665 from clansty/feat/group_name

fix: wrong notice_type sub_type
This commit is contained in:
手瓜一十雪 2024-12-28 21:42:14 +08:00 committed by GitHub
commit e99a619c23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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