diff --git a/src/structures/interfaces/InteractionResponses.js b/src/structures/interfaces/InteractionResponses.js index 8a36d8204..5ac5f1287 100644 --- a/src/structures/interfaces/InteractionResponses.js +++ b/src/structures/interfaces/InteractionResponses.js @@ -69,18 +69,19 @@ class InteractionResponses { /** * Creates a reply to this interaction. + * Use the `fetchReply` option to get the bot's reply message. * @param {string|MessagePayload|InteractionReplyOptions} options The options for the reply * @returns {Promise} * @example - * // Reply to the interaction with an embed + * // Reply to the interaction and fetch the response * const embed = new MessageEmbed().setDescription('Pong!'); * - * interaction.reply({ embeds: [embed] }) - * .then(() => console.log('Reply sent.')) + * interaction.reply({ content: 'Pong!', fetchReply: true }) + * .then((message) => console.log(`Reply sent with content ${message.content}`)) * .catch(console.error); * @example - * // Create an ephemeral reply - * interaction.reply({ content: 'Pong!', ephemeral: true }) + * // Create an ephemeral reply with an embed + * interaction.reply({ embeds: [embed], ephemeral: true }) * .then(() => console.log('Reply sent.')) * .catch(console.error); */