UNPKG

twitch-core

Version:
15 lines (14 loc) 468 B
import { TwitchCommandClient } from '../client/TwitchCommandClient'; interface CommandArguments { command: string; prefix?: string; args?: string[]; } declare type CommandParsed = Required<CommandArguments>; declare class CommandParser { private client; constructor(client: TwitchCommandClient); parse(message: string, prefix: string): CommandParsed | null; private escapePrefix; } export { CommandParser, CommandArguments };