Merge pull request #665 from clansty/feat/group_name
fix: wrong notice_type sub_type
This commit is contained in:
commit
bc11b718fa
1 file changed
+2
-1
@@ -2,7 +2,8 @@ import { OB11GroupNoticeEvent } from './OB11GroupNoticeEvent';
|
|||||||
import { NapCatCore } from '@/core';
|
import { NapCatCore } from '@/core';
|
||||||
|
|
||||||
export class OB11GroupNameEvent extends OB11GroupNoticeEvent {
|
export class OB11GroupNameEvent extends OB11GroupNoticeEvent {
|
||||||
notice_type = 'group_name';
|
notice_type = 'notify';
|
||||||
|
sub_type = 'group_name';
|
||||||
name_new: string;
|
name_new: string;
|
||||||
|
|
||||||
constructor(core: NapCatCore, groupId: number, userId: number, nameNew: string) {
|
constructor(core: NapCatCore, groupId: number, userId: number, nameNew: string) {
|
||||||
|
|||||||
Reference in new issue
Block a user