RawApplicationCommandOptionData

Type: Object<string, any>

Properties

PARAMETER
TYPE
DESCRIPTION

type

number

The option type

name

string

The option name

name_localizations

{ [locale: string]: string }

The option name localizations

description

string

The option description

description_localizations

{ [locale: string]: string }

The option and description localizations

required

boolean

The option required

choices

RawApplicationCommandOptionChoiceData[]

The option chocies

options

RawApplicationCommandOptionData[]

The option option

channel_types

number[]

The option name

min_value

number

The option min value

max_value

number

The option max value

autocomplete

boolean

The option autocomplete

See also: https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-structure

Last updated