Skip to content

ChannelConfig

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

A channel option.

  • OptionConfig

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 kinds?: 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).


optional required?: boolean

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

Whether the command cannot run without it.

OptionConfig.required