Sending ephemeral messages on another message

Is there any way I can send an ephemeral message in another message when someone clicks a button? Like lets say someone clicks a button on embed #1, but then I want an ephemeral message to popup on embed #2.
4 Replies
d.js toolkit
d.js toolkit16mo 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!
Squid
Squid16mo ago
Ephemeral messages can be sent through <Interaction>.reply() and <Interaction>.followUp(), so as long as you have a non-autocomplete interaction available, you can keep sending ephemeral messages
nBux
nBuxOP16mo ago
wym non autocomplete?
Squid
Squid16mo ago
The only way to acknowledge an AutocompleteInteraction is with .respond()
Want results from more Discord servers?
Add your server