BooleanConfig
Defined in: packages/core/src/commands.ts:65
A true/false option.
Extends
Section titled “Extends”OptionConfig
Properties
Section titled “Properties”default?
Section titled “default?”
optionaldefault?:boolean
Defined in: packages/core/src/commands.ts:66
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