Commands
Defined in index, you can import them from it.
Command
Command
property name
type annotation
callback: (client: Client, interaction: any, options: CallbackOptions) => Promise<void>;
CallbackOptions
CallbackOptions
property name
type annotation
Has an alias called CommandOptions defined in engine. Can be imported from engine instead of index
CommandOptions
CommandOptions
import { CommandOptions } from "index"
export type CommandOptions = {
command: {
guild: string[];
};
};
Last updated