Deleting Ephemeral Messages

Is there any sort of way to reply to an interaction privately and then delete the reply?
7 Replies
d.js toolkit
d.js toolkitā€¢2mo 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! - āœ… Marked as resolved by OP
G14Moon
G14Moonā€¢2mo ago
No description
Syjalo
Syjaloā€¢2mo ago
Every interaction response should be deleted with await interaction.deleteReply()
d.js docs
d.js docsā€¢2mo ago
:method: InteractionResponses#deleteReply() Deletes a reply to this interaction.
G14Moon
G14Moonā€¢2mo ago
Can I do it to ephemeral replies?
chewie šŸŒˆ
chewie šŸŒˆā€¢2mo ago
Yes.
G14Moon
G14Moonā€¢2mo ago
HOLY HECK IT WORKED! @chewie šŸŒˆ THANK YOU KING! The inability to delete ephemeral messages prior has plagued me for months! ā¤ļø