Ephemeral messages
I was using ephemeral: true but getting the following warning:
(node:12656) Warning: Supplying "ephemeral" for interaction response options is deprecated. Utilize flags instead.
(Use
node --trace-warnings ...
to show where the warning was created)
What's the correct way of doing it? I can't get the message flag to work.

4 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!discord.js@14.19.1 and node v20.17.0 btw
There's no
data
option, it's just flags
nevermind why did i put it inside of data
yeah
tyty