mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(InteractionResponses): replace outdated Embed example for reply (#7875)
This commit is contained in:
@@ -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.'))
|
||||
|
||||
Reference in New Issue
Block a user