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 toolkit2y 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
Squid2y 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
nBuxOP2y ago
wym non autocomplete?
Squid
Squid2y ago
The only way to acknowledge an AutocompleteInteraction is with .respond()

Did you find this page helpful?