From bb56f1776039cf4ac4d3f0e137af50ab1892853e Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Sun, 1 Aug 2021 11:13:29 +0100 Subject: [PATCH] docs(InteractionResponses): Correct `@returns` on responses (#6257) --- src/structures/interfaces/InteractionResponses.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/structures/interfaces/InteractionResponses.js b/src/structures/interfaces/InteractionResponses.js index 413de09db0e4..0586fc346e06 100644 --- a/src/structures/interfaces/InteractionResponses.js +++ b/src/structures/interfaces/InteractionResponses.js @@ -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} + * @returns {Promise} * @example * // Defer the reply to this interaction * interaction.defer() @@ -71,7 +71,7 @@ class InteractionResponses { /** * Creates a reply to this interaction. * @param {string|MessagePayload|InteractionReplyOptions} options The options for the reply - * @returns {Promise} + * @returns {Promise} * @example * // Reply to the interaction with an embed * const embed = new MessageEmbed().setDescription('Pong!'); @@ -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} + * @returns {Promise} * @example * // Defer updating and reset the component's loading state * interaction.deferUpdate() @@ -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} + * @returns {Promise} * @example * // Remove the components from the message * interaction.update({