twitch-core
Version:
Twitch bot command client
15 lines (14 loc) • 542 B
TypeScript
import Lowdb from 'lowdb';
import { BaseRoute } from './BaseRoute';
import { Router } from 'express';
import { TwitchCommandClient } from '../../client/TwitchCommandClient';
import { CommandProvider } from '../../commands/TwitchChatCommand';
export declare class CommandRoutes extends BaseRoute {
client: TwitchCommandClient;
commands: Lowdb.LowdbSync<CommandProvider>;
router: Router;
constructor(client: TwitchCommandClient);
private getCommands;
private getCommandByName;
private updateCommand;
}