Skip to content

Commit

Permalink
docs(InteractionResponses): Correct @returns on responses (#6257)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Aug 1, 2021
1 parent 74fc23b commit bb56f17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/structures/interfaces/InteractionResponses.js
Expand Up @@ -39,7 +39,7 @@ class InteractionResponses {
/**
* Defers the reply to this interaction.
* @param {InteractionDeferOptions} [options] Options for deferring the reply to this interaction
* @returns {Promise<Message|void>}
* @returns {Promise<Message|APIMessage|void>}
* @example
* // Defer the reply to this interaction
* interaction.defer()
Expand Down Expand Up @@ -71,7 +71,7 @@ class InteractionResponses {
/**
* Creates a reply to this interaction.
* @param {string|MessagePayload|InteractionReplyOptions} options The options for the reply
* @returns {Promise<void>}
* @returns {Promise<Message|APIMessage|void>}
* @example
* // Reply to the interaction with an embed
* const embed = new MessageEmbed().setDescription('Pong!');
Expand Down Expand Up @@ -168,7 +168,7 @@ class InteractionResponses {
/**
* Defers an update to the message to which the component was attached.
* @param {InteractionDeferUpdateOptions} [options] Options for deferring the update to this interaction
* @returns {Promise<Message|void>}
* @returns {Promise<Message|APIMessage|void>}
* @example
* // Defer updating and reset the component's loading state
* interaction.deferUpdate()
Expand All @@ -193,7 +193,7 @@ class InteractionResponses {
/**
* Updates the original message of the component on which the interaction was received on.
* @param {string|MessagePayload|InteractionUpdateOptions} options The options for the updated message
* @returns {Promise<Message|void>}
* @returns {Promise<Message|APIMessage|void>}
* @example
* // Remove the components from the message
* interaction.update({
Expand Down

0 comments on commit bb56f17

Please sign in to comment.