Interface ChatInputApplicationCommandData

interface ChatInputApplicationCommandData {
    autoComplete?: ((interaction: AutocompleteInteraction<CacheType>) => Promise<void>);
    contexts?: readonly InteractionContextType[];
    defaultMemberPermissions?: null | PermissionResolvable;
    description: string;
    descriptionLocalizations?: Partial<Record<
        | "id"
        | "en-US"
        | "en-GB"
        | "bg"
        | "zh-CN"
        | "zh-TW"
        | "hr"
        | "cs"
        | "da"
        | "nl"
        | "fi"
        | "fr"
        | "de"
        | "el"
        | "hi"
        | "hu"
        | "it"
        | "ja"
        | "ko"
        | "lt"
        | "no"
        | "pl"
        | "pt-BR"
        | "ro"
        | "ru"
        | "es-ES"
        | "es-419"
        | "sv-SE"
        | "th"
        | "tr"
        | "uk"
        | "vi", null | string>>;
    dmPermission?: boolean;
    execute: ((interaction: ChatInputCommandInteraction<CacheType>) => Promise<void>);
    integrationTypes?: readonly ApplicationIntegrationType[];
    name: string;
    nameLocalizations?: Partial<Record<
        | "id"
        | "en-US"
        | "en-GB"
        | "bg"
        | "zh-CN"
        | "zh-TW"
        | "hr"
        | "cs"
        | "da"
        | "nl"
        | "fi"
        | "fr"
        | "de"
        | "el"
        | "hi"
        | "hu"
        | "it"
        | "ja"
        | "ko"
        | "lt"
        | "no"
        | "pl"
        | "pt-BR"
        | "ro"
        | "ru"
        | "es-ES"
        | "es-419"
        | "sv-SE"
        | "th"
        | "tr"
        | "uk"
        | "vi", null | string>>;
    nsfw?: boolean;
    options?: readonly ApplicationCommandOptionData[];
    type?: ChatInput;
}

Hierarchy

  • ChatInputApplicationCommandData
    • ChatInputApplicationCommandData

Properties

autoComplete?: ((interaction: AutocompleteInteraction<CacheType>) => Promise<void>)
contexts?: readonly InteractionContextType[]
defaultMemberPermissions?: null | PermissionResolvable
description: string
descriptionLocalizations?: Partial<Record<
    | "id"
    | "en-US"
    | "en-GB"
    | "bg"
    | "zh-CN"
    | "zh-TW"
    | "hr"
    | "cs"
    | "da"
    | "nl"
    | "fi"
    | "fr"
    | "de"
    | "el"
    | "hi"
    | "hu"
    | "it"
    | "ja"
    | "ko"
    | "lt"
    | "no"
    | "pl"
    | "pt-BR"
    | "ro"
    | "ru"
    | "es-ES"
    | "es-419"
    | "sv-SE"
    | "th"
    | "tr"
    | "uk"
    | "vi", null | string>>
dmPermission?: boolean
execute: ((interaction: ChatInputCommandInteraction<CacheType>) => Promise<void>)
integrationTypes?: readonly ApplicationIntegrationType[]
name: string
nameLocalizations?: Partial<Record<
    | "id"
    | "en-US"
    | "en-GB"
    | "bg"
    | "zh-CN"
    | "zh-TW"
    | "hr"
    | "cs"
    | "da"
    | "nl"
    | "fi"
    | "fr"
    | "de"
    | "el"
    | "hi"
    | "hu"
    | "it"
    | "ja"
    | "ko"
    | "lt"
    | "no"
    | "pl"
    | "pt-BR"
    | "ro"
    | "ru"
    | "es-ES"
    | "es-419"
    | "sv-SE"
    | "th"
    | "tr"
    | "uk"
    | "vi", null | string>>
nsfw?: boolean
options?: readonly ApplicationCommandOptionData[]
type?: ChatInput