Skip to main content
Version: 1.x

CommandData

CommandData

Represents a command that can be executed by CommandKit.

Signature
type CommandData = Prettify<
Omit<RESTPostAPIApplicationCommandsJSONBody, 'description'> & {
/**
* The description of the command.
*/
description?: string;
} & LegacyCommandMetadata
>