mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(MessageSelectMenu): add link to Discord docs (#5984)
This commit is contained in:
@@ -57,9 +57,16 @@ class MessageComponentInteraction extends Interaction {
|
||||
this.webhook = new InteractionWebhook(this.client, this.applicationID, this.token);
|
||||
}
|
||||
|
||||
/**
|
||||
* Raw message components from the API
|
||||
* * APIMessageButton
|
||||
* * APIMessageSelectMenu
|
||||
* @typedef {APIMessageButton|APIMessageSelectMenu} APIMessageActionRowComponent
|
||||
*/
|
||||
|
||||
/**
|
||||
* The component which was interacted with
|
||||
* @type {?(MessageActionRowComponent|Object)}
|
||||
* @type {?(MessageActionRowComponent|APIMessageActionRowComponent)}
|
||||
* @readonly
|
||||
*/
|
||||
get component() {
|
||||
@@ -95,3 +102,13 @@ class MessageComponentInteraction extends Interaction {
|
||||
InteractionResponses.applyToClass(MessageComponentInteraction);
|
||||
|
||||
module.exports = MessageComponentInteraction;
|
||||
|
||||
/**
|
||||
* @external APIMessageSelectMenu
|
||||
* @see {@link https://discord.com/developers/docs/interactions/message-components#select-menu-object}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @external APIMessageButton
|
||||
* @see {@link https://discord.com/developers/docs/interactions/message-components#button-object}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user