Interface ApplicationCommandOptionsSubCommand

interface ApplicationCommandOptionsSubCommand {
    description: string;
    descriptionLocalizations?: Partial<Record<Locale, string>>;
    descriptionLocalized?: string;
    name: string;
    nameLocalizations?: Partial<Record<Locale, string>>;
    nameLocalized?: string;
    options?: ApplicationCommandOptionsWithValue[];
    required?: undefined;
    type: SUB_COMMAND;
}

Hierarchy (view full)

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?: undefined