Interface JSONApplicationCommand

interface JSONApplicationCommand {
    applicationID: string;
    createdAt: number;
    defaultMemberPermissions?: JSONPermission;
    description: string;
    descriptionLocalizations?: null | Partial<Record<Locale, string>>;
    dmPermission?: boolean;
    guildID?: string;
    id: string;
    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
name: string
nameLocalizations?: null | Partial<Record<Locale, string>>
nsfw?: boolean
version: string