@ayanaware/bentocord
Version:
Bentocord is a Bento plugin designed to rapidly build fully functional Discord Bots.
24 lines (23 loc) • 760 B
TypeScript
import { ComponentAPI } from '@ayanaware/bento';
import { AnyCommandContext } from '../CommandContext';
import { CommandManager } from '../CommandManager';
import { CommandDefinition } from '../interfaces/CommandDefinition';
import { CommandEntity } from '../interfaces/entity/CommandEntity';
export declare class SlashCommand implements CommandEntity {
name: string;
api: ComponentAPI;
parent: typeof CommandManager;
replaceable: boolean;
private readonly sm;
definition: CommandDefinition;
execute(ctx: AnyCommandContext, options: {
resync?: {
guild?: string;
prefix?: string;
};
purge?: {
guild?: string;
prefix?: string;
};
}): Promise<any>;
}