Skip to content

BooleanConfig

Defined in: packages/core/src/commands.ts:65

A true/false option.

  • OptionConfig

optional default?: boolean

Defined in: packages/core/src/commands.ts:66


optional description?: string

Defined in: packages/core/src/commands.ts:40

Shown in Discord’s command picker (1-100 characters). Defaults to the option’s name.

OptionConfig.description


optional required?: boolean

Defined in: packages/core/src/commands.ts:42

Whether the command cannot run without it.

OptionConfig.required