UNPKG

twitch-core

Version:
15 lines (14 loc) 542 B
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; }