@ayanaware/bentocord
Version:
Bentocord is a Bento plugin designed to rapidly build fully functional Discord Bots.
9 lines (8 loc) • 329 B
TypeScript
import type { AnyCommandContext } from '../CommandContext';
import type { CommandDefinition } from './CommandDefinition';
export interface Command {
/** Command Definition */
definition: CommandDefinition;
/** Command Execute */
execute(ctx: AnyCommandContext, options?: Record<string, unknown>): Promise<any>;
}