How to send a followUp after deferReply() and editReply()?

I have an interaction.deferReply() that is edited later with interaction.editReply(). I'd like to also send a followUp (second message) with some buttons after editing the first message. Is there a way to do that? My code looks like this right now:
interaction.editReply({ embeds: [threadsEmbed] }).then(
interaction.followUp({ embeds: [actionsEmbed], components: [row] }));
interaction.editReply({ embeds: [threadsEmbed] }).then(
interaction.followUp({ embeds: [actionsEmbed], components: [row] }));
6 Replies
d.js toolkit
d.js toolkit13mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
t̴humper
t̴humperOP13mo ago
The deferReply is triggered here:
No description
t̴humper
t̴humperOP13mo ago
And the editReply is here:
No description
t̴humper
t̴humperOP13mo ago
But it looks like the followUp just edits the original reply instead of sending a second message?
t̴humper
t̴humperOP13mo ago
Here is my discord.js and node version:
No description
t̴humper
t̴humperOP13mo ago
oh, thank you very much! makes sense, appreciate it KohaneBow !
Want results from more Discord servers?
Add your server