nhandler
Version:
The easy to use, all-in-one command, event and component handler.
8 lines (7 loc) • 302 B
TypeScript
import { Client } from "discord.js";
import { EventHandler } from "../classes/EventHandler";
export type EventHandlerCreationOptions<T> = {
client: T;
debug?: true;
};
export declare const createEvents: <T = Client<boolean>>({ client, debug, }: EventHandlerCreationOptions<T>) => EventHandler;