UNPKG

msg.ts

Version:

MSG is the framework for make discord bot easily

14 lines 729 B
import Context from './Context'; import Command, { condStringOrTrue, executor, nameAndDescription } from './Command'; import { promiseOr } from '../types'; export default class CondCommand { private condString; nameAndDescription: Partial<nameAndDescription>; private innerMiddlewareChainRunner; constructor(condString: condStringOrTrue, nameAndDescription?: Partial<nameAndDescription>); cond(ctx: Context): promiseOr<boolean>; executor(ctx: Context): promiseOr<Context>; subCommand(subCommand: Command): this; subCall(condString: condStringOrTrue, executorCallBack: executor, tag?: Partial<nameAndDescription>): this; } //# sourceMappingURL=../../src/dist/class/CondCommand.d.ts.map