detritus

ApplicationCommandOptionclass

Application Command Option Structure

On this page

Application Command Option Structure

import { Structures } from 'detritus-client';

Structures.ApplicationCommandOption;
StructureBaseStructureApplicationCommandOption
17 properties2 methods15 inheritedsrc/structures/applicationcommand.ts:198

Constructor

Properties

autocomplete?
boolean
optional
channelTypes?
number[]
optional
choices?
client
readonly
Inherited from BaseStructure.client
command
description
string
Default ''
descriptionLocalizations
Record<string, string | undefined> | null
Default null
fileTypes?
string[]
optional
maxLength?
number
optional
maxValue?
number | bigint
optional
minLength?
number
optional
minValue?
number | bigint
optional
name
string
Default ''
nameLocalizations
Record<string, string | undefined> | null
Default null
options?
required
boolean
Default false
type
Default ApplicationCommandOptionTypes.SUB_COMMAND

Accessors

isClone
boolean
get
Inherited from BaseStructure.isClone
key
string
get
shardId
number
get
Inherited from BaseStructure.shardId

Methods