Skip to main content
Version: 1.x

LoadedCommand

LoadedCommand

Represents a loaded command with its metadata and configuration.

Signature
interface LoadedCommand {
discordId: string | null;
command: Command;
metadata: CommandMetadata;
data: AppCommand;
}

discordId

property
string | null

The associated discord snowflake id for this command. If the information is not yet available, this will be null.

command

property

The command data.

metadata

The metadata for this command.

data

property

The data for this command.