Is it possible to receive ephemeral message in "messageCreate" event ?
Hello everyone,
I'm going back on the code of an old project and I notice that in the handler for the "messageCreate" event there is a check on the "ephemeral" flag before performing an action.
From what I understand about ephemeral messages, there's no reason to perform this check. However, I'd like to have some validation from you. Can ephemeral messages be received in this event? And if so, do we need to set up anything special to receive them?
Versions
- NodeJS: 18.17.1
- DiscordJS: 14.13.0
1 Reply
- 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!