Skip to content

ChoiceConfig

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

A choice between fixed words.

  • OptionConfig

V extends string

optional default?: V

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


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