nhandler
Version:
The easy to use, all-in-one command, event and component handler.
9 lines (8 loc) • 384 B
TypeScript
import { Client } from "discord.js";
import { LegacyCommandHandler } from "../classes/LegacyCommandHandler";
export type LegacyCommandHandlerCreationOptions<T> = {
client: T;
prefixes: string[];
debug?: true;
};
export declare const createLegacyCommands: <T = Client<boolean>>({ client, prefixes, debug, }: LegacyCommandHandlerCreationOptions<T>) => LegacyCommandHandler;