ChannelConfig
Defined in: packages/core/src/commands.ts:70
A channel option.
Extends
Section titled “Extends”OptionConfig
Properties
Section titled “Properties”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
kinds?
Section titled “kinds?”
optionalkinds?: readonly ("text"|"dm"|"voice"|"group-dm"|"category"|"announcement"|"thread"|"stage"|"directory"|"forum"|"media")[]
Defined in: packages/core/src/commands.ts:72
Only these kinds of channel are accepted (all by default).
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