UNPKG

@nortex/handler

Version:

The easy to use, all-in-one command and event handler.

14 lines (13 loc) 387 B
import { Event } from "../structures/Event"; import { BaseHandler } from "./BaseHandler"; interface HandlerOptions { client: any; autoLoad?: boolean; directory?: string | undefined; } export declare class EventHandler extends BaseHandler { constructor(options: HandlerOptions); loadEvents(): Promise<EventHandler>; registerEvent(event: Event): void; } export {};