Skip to content

Commit

Permalink
Merge pull request #665 from clansty/feat/group_name
Browse files Browse the repository at this point in the history
fix: wrong notice_type sub_type
  • Loading branch information
MliKiowa authored Dec 28, 2024
2 parents f1d83f7 + 1fc791b commit e99a619
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/onebot/event/notice/OB11GroupNameEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e99a619

Please sign in to comment.