Why cant i use MessageFlags.Ephemeral in v14.7.3?
Hello Everyone!!
I am trying to use MessageFlags.Ephemeral as a flag in interaction.reply like this:
but everytime i then execute the slash command the bot crashes and node tells me that MessageFlags is not defined.
Do i have to import something to use MessageFlags?
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 OPwell you have to import MessageFlags
okay solved, weirdly enough nothing about that was mentioned wherever i searched and also didnt work before, maybe just a typo before
Thank you!!