docs(InteractionResponses): replace outdated Embed example for reply (#7875)

This commit is contained in:
Ben
2022-05-12 01:29:44 -07:00
committed by GitHub
parent dfd9eb20b2
commit d308c66eec

View File

@@ -91,7 +91,7 @@ class InteractionResponses {
* .catch(console.error);
* @example
* // Create an ephemeral reply with an embed
* const embed = new Embed().setDescription('Pong!');
* const embed = new EmbedBuilder().setDescription('Pong!');
*
* interaction.reply({ embeds: [embed], ephemeral: true })
* .then(() => console.log('Reply sent.'))