CommandOptions

export declare interface CommandOptions

Properties

description: string

The default description of the command.

descriptions: Partial<Record<Locale, string>>

Localized version of description.

name: string

The name of the command

nameLocalizations: Partial<Record<Locale, string>>

The name localizations of the command

options: Array<ApplicationCommandOptionData>

Options users have to pass through before sending the command

default

[]

permissions: Partial<CommandPermissions>

The permissions for the command