@typed-discord/interactions
    Preparing search index...

    Interface SlashCommandInteractionData

    interface SlashCommandInteractionData {
        guild_id?: `${bigint}`;
        id?: `${bigint}`;
        name: string;
        options?:
            | [
                ApplicationCommandInteractionSubCommandGroupOption<
                    ApplicationCommandInteractionOption,
                >,
            ]
            | [
                ApplicationCommandInteractionSubCommandOption<
                    ApplicationCommandInteractionOption,
                >,
            ]
            | ApplicationCommandInteractionOption[];
        resolved?: {
            attachments?: {
                [attachment_id: `${bigint}`]: MessageAttachmentResponse;
            };
            channels?: { [channel_id: `${bigint}`]: PartialChannel };
            members?: { [user_id: `${bigint}`]: PartialMember };
            messages?: { [message_id: `${bigint}`]: MessageResponse };
            roles?: { [role_id: `${bigint}`]: GuildRoleResponse };
            users?: { [user_id: `${bigint}`]: UserResponse };
        };
        type: CHAT;
    }

    Hierarchy (View Summary)

    Index

    Properties

    guild_id?: `${bigint}`

    ID of the guild the command is registered to.

    id?: `${bigint}`

    Application command ID of the invoked command.

    name: string

    Name of the invoked command.

    options?:
        | [
            ApplicationCommandInteractionSubCommandGroupOption<
                ApplicationCommandInteractionOption,
            >,
        ]
        | [
            ApplicationCommandInteractionSubCommandOption<
                ApplicationCommandInteractionOption,
            >,
        ]
        | ApplicationCommandInteractionOption[]

    Parameters and values provided by the user.

    resolved?: {
        attachments?: {
            [attachment_id: `${bigint}`]: MessageAttachmentResponse;
        };
        channels?: { [channel_id: `${bigint}`]: PartialChannel };
        members?: { [user_id: `${bigint}`]: PartialMember };
        messages?: { [message_id: `${bigint}`]: MessageResponse };
        roles?: { [role_id: `${bigint}`]: GuildRoleResponse };
        users?: { [user_id: `${bigint}`]: UserResponse };
    }

    Resolved entities for members, users, channels, roles, messages, and attachments.

    type: CHAT

    Type of the invoked command.