ChoiceConfig
Defined in: packages/core/src/commands.ts:76
A choice between fixed words.
Extends
Section titled “Extends”OptionConfig
Type Parameters
Section titled “Type Parameters”V extends string
Properties
Section titled “Properties”default?
Section titled “default?”
optionaldefault?:V
Defined in: packages/core/src/commands.ts:77
description?
Section titled “description?”
optionaldescription?:string
Defined in: packages/core/src/commands.ts:40
Shown in Discord’s command picker (1-100 characters). Defaults to the option’s name.
Inherited from
Section titled “Inherited from”OptionConfig.description
required?
Section titled “required?”
optionalrequired?:boolean
Defined in: packages/core/src/commands.ts:42
Whether the command cannot run without it.
Inherited from
Section titled “Inherited from”OptionConfig.required