docs(*): add links to Discord's API objects & data (#5862)

This commit is contained in:
Rodry
2021-06-24 09:55:44 +01:00
committed by GitHub
parent 6d3d00b445
commit e0efcc6ab0
35 changed files with 175 additions and 63 deletions

View File

@@ -91,7 +91,7 @@ class InteractionResponses {
/**
* Fetches the initial reply to this interaction.
* @see Webhook#fetchMessage
* @returns {Promise<Message|Object>}
* @returns {Promise<Message|APIMessageRaw>}
* @example
* // Fetch the reply to this interaction
* interaction.fetchReply()
@@ -107,7 +107,7 @@ class InteractionResponses {
* Edits the initial reply to this interaction.
* @see Webhook#editMessage
* @param {string|APIMessage|WebhookEditMessageOptions} options The new options for the message
* @returns {Promise<Message|Object>}
* @returns {Promise<Message|APIMessageRaw>}
* @example
* // Edit the reply to this interaction
* interaction.editReply('New content')
@@ -139,7 +139,7 @@ class InteractionResponses {
/**
* Send a follow-up message to this interaction.
* @param {string|APIMessage|InteractionReplyOptions} options The options for the reply
* @returns {Promise<Message|Object>}
* @returns {Promise<Message|APIMessageRaw>}
*/
followUp(options) {
return this.webhook.send(options);