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