Discord.https - v3.0.16
    Preparing search index...

    Represents a message context menu interaction.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    applicationId: string

    The ID of the application (bot) this interaction is for.

    appPermissions: Readonly<BitField>

    The permissions the application (bot) has in the interaction's channel.

    attachmentSizeLimit: number

    Maximum attachment size allowed for this interaction (in bytes).

    authorizingIntegrationOwners: APIAuthorizingIntegrationOwnersMap
    channelId: null | string

    The ID of the channel this interaction was sent in.

    client: default

    The client instance

    commandGuildId: null | string

    The ID of the guild this command is registered to, if any

    commandId: string

    The ID of the invoked application command

    commandName: string

    The name of the invoked application command

    The type of the invoked application command

    context: null | number

    The context in which this interaction was triggered (e.g., direct message, command, etc.).

    deferred: boolean

    Whether the reply has been deferred

    entitlements: APIEntitlement[]
    ephemeral: null | boolean

    Whether the reply is ephemeral (visible only to the user)

    guildId: null | string

    The ID of the guild this interaction was sent in (if applicable).

    guildLocale: null | Locale

    The preferred locale of the guild, if the interaction was in a guild.

    id: string

    The interaction's unique ID.

    locale: Locale

    The locale of the user invoking the interaction (e.g., "en-US").

    The guild member who invoked this interaction (if in a guild).

    memberPermissions: null | Readonly<BitField<Record<string, number>, number>>

    The permissions the invoking member has in the interaction's channel.

    The options passed to the command.

    replied: boolean

    Whether this interaction has already been replied to

    token: string

    The interaction token used for responding.

    The interaction's type.

    user: APIUser

    The user who invoked this interaction.

    version: number

    The interaction protocol version.

    A webhook associated with this interaction

    Accessors

    Methods

    • Parameters

      • options: Omit<
            djs.InteractionDeferReplyOptions,
            "ephemeral"
            | "fetchReply"
            | "withResponse",
        > = {}

      Returns void