Interface ApplicationCommandOptionBase<T>

Type Parameters

Hierarchy

Properties

description: string
descriptionLocalizations?: Partial<Record<Locale, string>>
descriptionLocalized?: string

The description of this application command in the requested locale. This cannot be sent.

name: string
nameLocalizations?: Partial<Record<Locale, string>>
nameLocalized?: string

The description of this application command in the requested locale. This cannot be sent.

required?: T extends SUB_COMMAND | SUB_COMMAND_GROUP
    ? never
    : boolean
type: T