Reply to the original command on a second message
I have a bot with a slash command that once used, posts a preview of the message that the bot is about to post. Once the user clicks on a button to confirm that it is indeed the message the user wants to send, the bot will post the message again, just not ephermerally.
However, I want the bot to reply to the original command that the user used in its 2nd message, so that people will be able to see who sent it. I attached a picture to show what I want it to look like. Is it possible to do?
3 Replies
- 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 OPProbably no. You can use ephemeral messages as reply to an interaction, but if it already replied with ehemeral: true, you can't reply to interaction again with non-ephemeral. If you need to show which user used command, you can mention the user in the message, in the embed description, or in the embed fields values
Short Answer is no.
Long Answer is also no.
You can use a followUp to show the second message, but that would show its replying to the ephemeral message.