mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-13 00:10:27 +00:00
16 lines
360 B
TypeScript
16 lines
360 B
TypeScript
import { selfInfo } from '@/common/data';
|
|
|
|
export enum EventType {
|
|
META = 'meta_event',
|
|
REQUEST = 'request',
|
|
NOTICE = 'notice',
|
|
MESSAGE = 'message',
|
|
MESSAGE_SENT = 'message_sent',
|
|
}
|
|
|
|
|
|
export abstract class OB11BaseEvent {
|
|
time = Math.floor(Date.now() / 1000);
|
|
self_id = parseInt(selfInfo.uin);
|
|
post_type: EventType = EventType.META;
|
|
} |