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

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