增加抽象类,修改继承关系
This commit is contained in:
1 parent
c1a0f8915b
commit
7ad09169ea
4 files changed
+16
-11
No files matched your search
@@ -1,9 +1,7 @@
|
||||
import { OB11BaseNoticeEvent } from '@/onebot/event/notice/OB11BaseNoticeEvent';
|
||||
import { EventType } from '@/onebot/event/OneBotEvent';
|
||||
import { NapCatCore } from '@/core';
|
||||
import { OB11BaseRequestEvent } from './OB11BaseRequestEvent';
|
||||
|
||||
export class OB11FriendRequestEvent extends OB11BaseNoticeEvent {
|
||||
override post_type = EventType.REQUEST;
|
||||
export class OB11FriendRequestEvent extends OB11BaseRequestEvent {
|
||||
request_type = 'friend';
|
||||
|
||||
user_id: number;
|
||||
|
||||
Reference in new issue
Block a user