@twitchfy/chatbot
Version:
A powerful node module to make your own Twitch ChatBot
21 lines (20 loc) • 475 B
TypeScript
import type { ChatCommand } from './ChatCommand';
/**
* The command handler.
*/
export declare class CommandHandler {
/**
* The directory of the commands.
*/
readonly dir: string;
/**
* Creates a new instance of the command handler.
* @param dir The directory of the commands.
*/
constructor(dir: string);
/**
* Load the commands.
* @returns The loaded commands.
*/
load(): Promise<(typeof ChatCommand)[]>;
}