Interface CommandInfoChatInternal

Typings for a command initiated by a slash command.

interface CommandInfoChat {
    type?: ChatInput;
    description: string | Locales;
    options?: ApplicationCommandOptionData[];
    name: string | Locales;
    owners_only?: boolean;
    nsfw?: boolean;
    integration_types?: ApplicationIntegrationType[];
    contexts?: InteractionContextType[];
}

Hierarchy (View Summary)

Properties

type?: ChatInput
description: string | Locales
name: string | Locales
owners_only?: boolean
false
nsfw?: boolean
false
integration_types?: ApplicationIntegrationType[]