twitch-core
Version:
Twitch bot command client
12 lines (11 loc) • 573 B
TypeScript
import { CommandOptions, TwitchChatCommand } from '../TwitchChatCommand';
import { TwitchChatMessage } from '../../messages/TwitchChatMessage';
import { TwitchCommandClient } from '../../client/TwitchCommandClient';
export default class Commands extends TwitchChatCommand {
constructor(client: TwitchCommandClient, options: CommandOptions);
run(msg: TwitchChatMessage, { command }: {
command: string;
}): Promise<void>;
commandList(msg: TwitchChatMessage): Promise<void>;
commandHelp(msg: TwitchChatMessage, command: string): void;
}