@ayanaware/bentocord
Version:
Bentocord is a Bento plugin designed to rapidly build fully functional Discord Bots.
21 lines (20 loc) • 720 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 PrefixCommand implements CommandEntity {
name: string;
api: ComponentAPI;
parent: typeof CommandManager;
replaceable: boolean;
protected readonly cm: CommandManager;
definition: CommandDefinition;
execute(ctx: AnyCommandContext, options: {
view?: Record<string, never>;
set?: {
prefix: string;
};
}): Promise<unknown>;
private set;
}