Represents a ComponentType.ChannelSelect select menu interaction.
Extends
MessageComponentInteraction<Cached>Constructs a new instance of the
ChannelSelectMenuInteraction
className | Type | Optional | Description |
---|---|---|---|
client | Client<true> | No | None |
data | APIMessageChannelSelectInteractionData | No | None |
channels:Collection< Snowflake, CacheTypeReducer<Cached, Channel, APIChannel, Channel | APIChannel, Channel | APIChannel> >
Collection of the selected channels
Readonly
The component which was interacted with
Collects a single modal submit interaction that passes the filter. The Promise will reject if the time expires.
Example
Name | Type | Optional | Description |
---|---|---|---|
options | AwaitModalSubmitOptions<ModalSubmitInteraction> | No | Options to pass to the internal collector |
Defers the reply to this interaction.
Example
Example
Name | Type | Optional | Description |
---|---|---|---|
options | InteractionDeferReplyOptions & { fetchReply: true } | No | Options for deferring the reply to this interaction |
Defers an update to the message to which the component was attached.
Example
Name | Type | Optional | Description |
---|---|---|---|
options | InteractionDeferUpdateOptions & { fetchReply: true } | No | Options for deferring the update to this interaction |
Deletes a reply to this interaction.
Example
Name | Type | Optional | Description |
---|---|---|---|
message | MessageResolvable | '@original' | Yes | The response to delete |
Edits a reply to this interaction.
Example
Name | Type | Optional | Description |
---|---|---|---|
options | string | MessagePayload | InteractionEditReplyOptions | No | The new options for the message |
Fetches a reply to this interaction.
Example
Name | Type | Optional | Description |
---|---|---|---|
message | Snowflake | '@original' | Yes | The response to fetch |
Send a follow-up message to this interaction.
Name | Type | Optional | Description |
---|---|---|---|
options | string | MessagePayload | InteractionReplyOptions | No | The options for the reply |
Indicates whether or not this interaction is both cached and received from a 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.
Inherited from BaseInteractionIndicates whether this interaction is an AutocompleteInteraction
Inherited from BaseInteractionIndicates whether this interaction is a ButtonInteraction.
Inherited from BaseInteractionIndicates whether this interaction is a ChannelSelectMenuInteraction
Inherited from BaseInteractionIndicates whether this interaction is a ChatInputCommandInteraction.
Inherited from BaseInteractionIndicates whether this interaction is a CommandInteraction
Inherited from BaseInteractionIndicates whether this interaction is a ContextMenuCommandInteraction
Inherited from BaseInteractionIndicates whether this interaction is a MentionableSelectMenuInteraction
Inherited from BaseInteractionIndicates whether this interaction is a MessageComponentInteraction
Inherited from BaseInteractionIndicates whether this interaction is a MessageContextMenuCommandInteraction
Inherited from BaseInteractionIndicates whether this interaction is a ModalSubmitInteraction
Inherited from BaseInteractionIndicates whether this interaction can be replied to.
Inherited from BaseInteractionIndicates whether this interaction is a RoleSelectMenuInteraction
Inherited from BaseInteractionUse isStringSelectMenu instead.
Deprecated
Indicates whether this interaction is a StringSelectMenuInteraction.
Inherited from BaseInteractionIndicates whether this interaction is a UserContextMenuCommandInteraction
Inherited from BaseInteractionIndicates whether this interaction is a UserSelectMenuInteraction
Inherited from BaseInteractionCreates a reply to this interaction. Use the
fetchReply
option to get the bot's reply message.Example
Example
Name | Type | Optional | Description |
---|---|---|---|
options | InteractionReplyOptions & { fetchReply: true } | No | The options for the reply |
Shows a modal component
Name | Type | Optional | Description |
---|---|---|---|
modal | JSONEncodable<APIModalInteractionResponseCallbackData> | ModalComponentData | APIModalInteractionResponseCallbackData | No | The modal to show |
Updates the original message of the component on which the interaction was received on.
Example
Name | Type | Optional | Description |
---|---|---|---|
options | InteractionUpdateOptions & { fetchReply: true } | No | The options for the updated message |