Interface JSONApplicationCommand

interface JSONApplicationCommand {
    applicationID: string;
    contexts: InteractionContextTypes[];
    createdAt: number;
    defaultMemberPermissions?: JSONPermission;
    description: string;
    descriptionLocalizations?: null | Partial<Record<Locale, string>>;
    dmPermission?: boolean;
    guildID?: string;
    id: string;
    integrationTypes: ApplicationIntegrationTypes[];
    name: string;
    nameLocalizations?: null | Partial<Record<Locale, string>>;
    nsfw?: boolean;
    options?: ApplicationCommandOptions[];
    type: ApplicationCommandTypes;
    version: string;
}

Hierarchy (view full)

Properties

applicationID: string
createdAt: number
defaultMemberPermissions?: JSONPermission
description: string
descriptionLocalizations?: null | Partial<Record<Locale, string>>
dmPermission?: boolean
guildID?: string
id: string
integrationTypes: ApplicationIntegrationTypes[]
name: string
nameLocalizations?: null | Partial<Record<Locale, string>>
nsfw?: boolean
version: string