Skip to main content
Version: Next

CommandFileData

CommandFileData

Signature
interface CommandFileData {
data: CommandData;
options?: CommandOptions;
chatInput: CommandRunner<ChatInputCommandInteraction>;
messageContextMenu?: CommandRunner<MessageContextMenuCommandInteraction>;
userContextMenu?: CommandRunner<UserContextMenuCommandInteraction>;
autocomplete?: CommandRunner<AutocompleteInteraction>;
category: string | null;
path: string;
}

data

property

options

chatInput

property
CommandRunner<ChatInputCommandInteraction>

messageContextMenu

property
CommandRunner<MessageContextMenuCommandInteraction>

userContextMenu

property
CommandRunner<UserContextMenuCommandInteraction>

autocomplete

property
CommandRunner<AutocompleteInteraction>

category

property
string | null

path

property
string