mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-16 05:10:34 +00:00
17 lines
470 B
TypeScript
17 lines
470 B
TypeScript
import { OB11BaseNoticeEvent } from './OB11BaseNoticeEvent';
|
|
import { NapCatCore } from 'napcat-core';
|
|
|
|
export class BotOfflineEvent extends OB11BaseNoticeEvent {
|
|
notice_type = 'bot_offline';
|
|
user_id: number;
|
|
tag: string = 'BotOfflineEvent';
|
|
message: string = 'BotOfflineEvent';
|
|
|
|
public constructor (core: NapCatCore, tag: string, message: string) {
|
|
super(core);
|
|
this.user_id = +core.selfInfo.uin;
|
|
this.tag = tag;
|
|
this.message = message;
|
|
}
|
|
}
|