From 88060395d198cd4f43de434aea6efb7ca93ea221 Mon Sep 17 00:00:00 2001 From: GodderE2D <55918888+GodderE2D@users.noreply.github.com> Date: Wed, 27 Oct 2021 10:08:20 +1100 Subject: [PATCH] docs(InteractionResponses): move embed var position in example (#6896) --- src/structures/interfaces/InteractionResponses.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/interfaces/InteractionResponses.js b/src/structures/interfaces/InteractionResponses.js index 5ac5f1287..f5becee11 100644 --- a/src/structures/interfaces/InteractionResponses.js +++ b/src/structures/interfaces/InteractionResponses.js @@ -74,13 +74,13 @@ class InteractionResponses { * @returns {Promise} * @example * // Reply to the interaction and fetch the response - * const embed = new MessageEmbed().setDescription('Pong!'); - * * interaction.reply({ content: 'Pong!', fetchReply: true }) * .then((message) => console.log(`Reply sent with content ${message.content}`)) * .catch(console.error); * @example * // Create an ephemeral reply with an embed + * const embed = new MessageEmbed().setDescription('Pong!'); + * * interaction.reply({ embeds: [embed], ephemeral: true }) * .then(() => console.log('Reply sent.')) * .catch(console.error);