Interface ApplicationCommandDataEx

interface ApplicationCommandDataEx {
    contexts: null | InteractionContextType[];
    defaultMemberPermissions?:
        | null
        | string
        | bigint
        | RecursiveReadonlyArray<
            | bigint
            | `${bigint}`
            | "CreateInstantInvite"
            | "KickMembers"
            | "BanMembers"
            | "Administrator"
            | "ManageChannels"
            | "ManageGuild"
            | "AddReactions"
            | "ViewAuditLog"
            | "PrioritySpeaker"
            | "Stream"
            | "ViewChannel"
            | "SendMessages"
            | "SendTTSMessages"
            | "ManageMessages"
            | "EmbedLinks"
            | "AttachFiles"
            | "ReadMessageHistory"
            | "MentionEveryone"
            | "UseExternalEmojis"
            | "ViewGuildInsights"
            | "Connect"
            | "Speak"
            | "MuteMembers"
            | "DeafenMembers"
            | "MoveMembers"
            | "UseVAD"
            | "ChangeNickname"
            | "ManageNicknames"
            | "ManageRoles"
            | "ManageWebhooks"
            | "ManageEmojisAndStickers"
            | "ManageGuildExpressions"
            | "UseApplicationCommands"
            | "RequestToSpeak"
            | "ManageEvents"
            | "ManageThreads"
            | "CreatePublicThreads"
            | "CreatePrivateThreads"
            | "UseExternalStickers"
            | "SendMessagesInThreads"
            | "UseEmbeddedActivities"
            | "ModerateMembers"
            | "ViewCreatorMonetizationAnalytics"
            | "UseSoundboard"
            | "CreateGuildExpressions"
            | "CreateEvents"
            | "UseExternalSounds"
            | "SendVoiceMessages"
            | "SendPolls"
            | "UseExternalApps"
            | Readonly<
                BitField<
                    | "CreateInstantInvite"
                    | "KickMembers"
                    | "BanMembers"
                    | "Administrator"
                    | "ManageChannels"
                    | "ManageGuild"
                    | "AddReactions"
                    | "ViewAuditLog"
                    | "PrioritySpeaker"
                    | "Stream"
                    | "ViewChannel"
                    | "SendMessages"
                    | "SendTTSMessages"
                    | "ManageMessages"
                    | "EmbedLinks"
                    | "AttachFiles"
                    | "ReadMessageHistory"
                    | "MentionEveryone"
                    | "UseExternalEmojis"
                    | "ViewGuildInsights"
                    | "Connect"
                    | "Speak"
                    | "MuteMembers"
                    | "DeafenMembers"
                    | "MoveMembers"
                    | "UseVAD"
                    | "ChangeNickname"
                    | "ManageNicknames"
                    | "ManageRoles"
                    | "ManageWebhooks"
                    | "ManageEmojisAndStickers"
                    | "ManageGuildExpressions"
                    | "UseApplicationCommands"
                    | "RequestToSpeak"
                    | "ManageEvents"
                    | "ManageThreads"
                    | "CreatePublicThreads"
                    | "CreatePrivateThreads"
                    | "UseExternalStickers"
                    | "SendMessagesInThreads"
                    | "UseEmbeddedActivities"
                    | "ModerateMembers"
                    | "ViewCreatorMonetizationAnalytics"
                    | "UseSoundboard"
                    | "CreateGuildExpressions"
                    | "CreateEvents"
                    | "UseExternalSounds"
                    | "SendVoiceMessages"
                    | "SendPolls"
                    | "UseExternalApps",
                    bigint,
                >,
            >,
        >
        | Readonly<
            BitField<
                | "CreateInstantInvite"
                | "KickMembers"
                | "BanMembers"
                | "Administrator"
                | "ManageChannels"
                | "ManageGuild"
                | "AddReactions"
                | "ViewAuditLog"
                | "PrioritySpeaker"
                | "Stream"
                | "ViewChannel"
                | "SendMessages"
                | "SendTTSMessages"
                | "ManageMessages"
                | "EmbedLinks"
                | "AttachFiles"
                | "ReadMessageHistory"
                | "MentionEveryone"
                | "UseExternalEmojis"
                | "ViewGuildInsights"
                | "Connect"
                | "Speak"
                | "MuteMembers"
                | "DeafenMembers"
                | "MoveMembers"
                | "UseVAD"
                | "ChangeNickname"
                | "ManageNicknames"
                | "ManageRoles"
                | "ManageWebhooks"
                | "ManageEmojisAndStickers"
                | "ManageGuildExpressions"
                | "UseApplicationCommands"
                | "RequestToSpeak"
                | "ManageEvents"
                | "ManageThreads"
                | "CreatePublicThreads"
                | "CreatePrivateThreads"
                | "UseExternalStickers"
                | "SendMessagesInThreads"
                | "UseEmbeddedActivities"
                | "ModerateMembers"
                | "ViewCreatorMonetizationAnalytics"
                | "UseSoundboard"
                | "CreateGuildExpressions"
                | "CreateEvents"
                | "UseExternalSounds"
                | "SendVoiceMessages"
                | "SendPolls"
                | "UseExternalApps",
                bigint,
            >,
        >;
    description?: string;
    descriptionLocalizations?: null
    | Partial<Record<Locale, null | string>>;
    dmPermission?: boolean;
    integrationTypes: ApplicationIntegrationType[];
    name: string;
    nameLocalizations?: null | Partial<Record<Locale, null | string>>;
    nsfw?: boolean;
    options: ApplicationCommandOptionData[];
    type: ApplicationCommandType;
}

Properties

contexts: null | InteractionContextType[]
defaultMemberPermissions?:
    | null
    | string
    | bigint
    | RecursiveReadonlyArray<
        | bigint
        | `${bigint}`
        | "CreateInstantInvite"
        | "KickMembers"
        | "BanMembers"
        | "Administrator"
        | "ManageChannels"
        | "ManageGuild"
        | "AddReactions"
        | "ViewAuditLog"
        | "PrioritySpeaker"
        | "Stream"
        | "ViewChannel"
        | "SendMessages"
        | "SendTTSMessages"
        | "ManageMessages"
        | "EmbedLinks"
        | "AttachFiles"
        | "ReadMessageHistory"
        | "MentionEveryone"
        | "UseExternalEmojis"
        | "ViewGuildInsights"
        | "Connect"
        | "Speak"
        | "MuteMembers"
        | "DeafenMembers"
        | "MoveMembers"
        | "UseVAD"
        | "ChangeNickname"
        | "ManageNicknames"
        | "ManageRoles"
        | "ManageWebhooks"
        | "ManageEmojisAndStickers"
        | "ManageGuildExpressions"
        | "UseApplicationCommands"
        | "RequestToSpeak"
        | "ManageEvents"
        | "ManageThreads"
        | "CreatePublicThreads"
        | "CreatePrivateThreads"
        | "UseExternalStickers"
        | "SendMessagesInThreads"
        | "UseEmbeddedActivities"
        | "ModerateMembers"
        | "ViewCreatorMonetizationAnalytics"
        | "UseSoundboard"
        | "CreateGuildExpressions"
        | "CreateEvents"
        | "UseExternalSounds"
        | "SendVoiceMessages"
        | "SendPolls"
        | "UseExternalApps"
        | Readonly<
            BitField<
                | "CreateInstantInvite"
                | "KickMembers"
                | "BanMembers"
                | "Administrator"
                | "ManageChannels"
                | "ManageGuild"
                | "AddReactions"
                | "ViewAuditLog"
                | "PrioritySpeaker"
                | "Stream"
                | "ViewChannel"
                | "SendMessages"
                | "SendTTSMessages"
                | "ManageMessages"
                | "EmbedLinks"
                | "AttachFiles"
                | "ReadMessageHistory"
                | "MentionEveryone"
                | "UseExternalEmojis"
                | "ViewGuildInsights"
                | "Connect"
                | "Speak"
                | "MuteMembers"
                | "DeafenMembers"
                | "MoveMembers"
                | "UseVAD"
                | "ChangeNickname"
                | "ManageNicknames"
                | "ManageRoles"
                | "ManageWebhooks"
                | "ManageEmojisAndStickers"
                | "ManageGuildExpressions"
                | "UseApplicationCommands"
                | "RequestToSpeak"
                | "ManageEvents"
                | "ManageThreads"
                | "CreatePublicThreads"
                | "CreatePrivateThreads"
                | "UseExternalStickers"
                | "SendMessagesInThreads"
                | "UseEmbeddedActivities"
                | "ModerateMembers"
                | "ViewCreatorMonetizationAnalytics"
                | "UseSoundboard"
                | "CreateGuildExpressions"
                | "CreateEvents"
                | "UseExternalSounds"
                | "SendVoiceMessages"
                | "SendPolls"
                | "UseExternalApps",
                bigint,
            >,
        >,
    >
    | Readonly<
        BitField<
            | "CreateInstantInvite"
            | "KickMembers"
            | "BanMembers"
            | "Administrator"
            | "ManageChannels"
            | "ManageGuild"
            | "AddReactions"
            | "ViewAuditLog"
            | "PrioritySpeaker"
            | "Stream"
            | "ViewChannel"
            | "SendMessages"
            | "SendTTSMessages"
            | "ManageMessages"
            | "EmbedLinks"
            | "AttachFiles"
            | "ReadMessageHistory"
            | "MentionEveryone"
            | "UseExternalEmojis"
            | "ViewGuildInsights"
            | "Connect"
            | "Speak"
            | "MuteMembers"
            | "DeafenMembers"
            | "MoveMembers"
            | "UseVAD"
            | "ChangeNickname"
            | "ManageNicknames"
            | "ManageRoles"
            | "ManageWebhooks"
            | "ManageEmojisAndStickers"
            | "ManageGuildExpressions"
            | "UseApplicationCommands"
            | "RequestToSpeak"
            | "ManageEvents"
            | "ManageThreads"
            | "CreatePublicThreads"
            | "CreatePrivateThreads"
            | "UseExternalStickers"
            | "SendMessagesInThreads"
            | "UseEmbeddedActivities"
            | "ModerateMembers"
            | "ViewCreatorMonetizationAnalytics"
            | "UseSoundboard"
            | "CreateGuildExpressions"
            | "CreateEvents"
            | "UseExternalSounds"
            | "SendVoiceMessages"
            | "SendPolls"
            | "UseExternalApps",
            bigint,
        >,
    >
description?: string
descriptionLocalizations?: null | Partial<Record<Locale, null | string>>
dmPermission?: boolean
integrationTypes: ApplicationIntegrationType[]
name: string
nameLocalizations?: null | Partial<Record<Locale, null | string>>
nsfw?: boolean
options: ApplicationCommandOptionData[]
type: ApplicationCommandType