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.
No description
No description
4 Replies
d.js toolkit
d.js toolkit3d 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!
misakii
misakiiOP3d ago
discord.js@14.19.1 and node v20.17.0 btw
duck
duck3d ago
There's no data option, it's just flags
misakii
misakiiOP3d ago
nevermind why did i put it inside of data yeah tyty

Did you find this page helpful?