From 67e9ce46933c6471fad60d38255f19ce4318c7d2 Mon Sep 17 00:00:00 2001 From: BaumianerNiklas <68434250+BaumianerNiklas@users.noreply.github.com> Date: Thu, 8 Jul 2021 16:39:36 +0200 Subject: [PATCH] docs(InteractionResponses): generalize wording in update to fit other component interaction types (#6074) --- src/structures/interfaces/InteractionResponses.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/structures/interfaces/InteractionResponses.js b/src/structures/interfaces/InteractionResponses.js index 3e9c2e64a..e18864d7e 100644 --- a/src/structures/interfaces/InteractionResponses.js +++ b/src/structures/interfaces/InteractionResponses.js @@ -177,13 +177,13 @@ class InteractionResponses { } /** - * Updates the original message whose button was pressed. - * @param {string|MessagePayload|WebhookEditMessageOptions} options The options for the reply + * Updates the original message of the component on which the interaction was received on. + * @param {string|MessagePayload|WebhookEditMessageOptions} options The options for the updated message * @returns {Promise} * @example * // Remove the components from the message * interaction.update({ - * content: "A button was clicked", + * content: "A component interaction was received", * components: [] * }) * .then(console.log)