From b170fb5ce8a487c385b75b92082dff25207832bc Mon Sep 17 00:00:00 2001 From: anandre <38661761+anandre@users.noreply.github.com> Date: Thu, 8 Jul 2021 15:16:03 -0500 Subject: [PATCH] docs(InteractionResponses): reply docs example (#6079) Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com> --- 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 e18864d7e..239c69fbf 100644 --- a/src/structures/interfaces/InteractionResponses.js +++ b/src/structures/interfaces/InteractionResponses.js @@ -63,12 +63,12 @@ class InteractionResponses { * const embed = new MessageEmbed().setDescription('Pong!'); * * interaction.reply({ embeds: [embed] }) - * .then(console.log) + * .then(() => console.log('Reply sent.')) * .catch(console.error); * @example * // Create an ephemeral reply * interaction.reply({ content: 'Pong!', ephemeral: true }) - * .then(console.log) + * .then(() => console.log('Reply sent.')) * .catch(console.error); */ async reply(options) {