not getting message content
when i tring log message object it shows but when i log content it returns empty string i did't get what the problem so if you know help asap
7 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!show client constructor for intents
32767
We highly recommend only specifying the intents you actually need.
- Note, that
98303
, 32767
or whatever other magic number you read that represents "all intents", gets outdated as soon as new intents are introduced.
- The number will always represent the same set of intents, and will not include new ones. There is no magic "all intents" bit.specify your intents
you lack the message content intent. your bot does not need all of the intents you have enabled, specify the ones your bot actually needs
oh thanks