mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
15 lines
296 B
TypeScript
15 lines
296 B
TypeScript
import {selfInfo} from "../../common/data";
|
|
|
|
export enum EventType {
|
|
META = "meta_event",
|
|
REQUEST = "request",
|
|
NOTICE = "notice",
|
|
MESSAGE = "message"
|
|
}
|
|
|
|
|
|
export abstract class OB11BaseEvent {
|
|
time = new Date().getTime();
|
|
self_id = selfInfo.uin;
|
|
post_type: EventType;
|
|
} |