Represents an interaction.
Extends
BaseConstructs a new instance of the
BaseInteraction
className | Type | Optional | Description |
---|---|---|---|
client | Client<true> | No | None |
data | RawInteractionData | No | None |
Mapping of installation contexts that the interaction was authorized for the related user or guild ids
Readonly
channel:CacheTypeReducer<Cached, GuildTextBasedChannel | null, GuildTextBasedChannel | null, GuildTextBasedChannel | null, TextBasedChannel | null>
The channel this interaction was sent in
Indicates whether this interaction is received from a cached guild.
Indicates whether this interaction is received from a guild.
Indicates whether or not this interaction is received from an uncached guild.
Indicates whether this interaction is a select menu of any known type.
Indicates whether this interaction is an AutocompleteInteraction
Indicates whether this interaction is a ButtonInteraction.
Indicates whether this interaction is a ChannelSelectMenuInteraction
Indicates whether this interaction is a ChatInputCommandInteraction.
Indicates whether this interaction is a CommandInteraction
Indicates whether this interaction is a ContextMenuCommandInteraction
Indicates whether this interaction is a MentionableSelectMenuInteraction
Indicates whether this interaction is a MessageComponentInteraction
Indicates whether this interaction is a MessageContextMenuCommandInteraction
Indicates whether this interaction is a ModalSubmitInteraction
Indicates whether this interaction can be replied to.
Indicates whether this interaction is a RoleSelectMenuInteraction
Indicates whether this interaction is a StringSelectMenuInteraction.
Indicates whether this interaction is a UserContextMenuCommandInteraction
Indicates whether this interaction is a UserSelectMenuInteraction