#messageCreate event isn't giving any message conents.

11 messages · Page 1 of 1 (latest)

amber needle
#

I've updated to djs v14.1.2 and now the messageCreate event isn't giving any value for the content value in the message - its just '' even thought the actual message isn't. Any reason why this might be happening?

strong lotusBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

daring whale
#

do you have the message content intent?

amber needle
#

Yes, that is enabled.

spark rock
#

Doubt

daring whale
#

and you have the privileged intent enabled in the dev docs?

amber needle
#

Oh the one in the dev docs, that is enabled.

#

I didn't know it became its own separate intent.

daring whale
#

do you have the message intent for the client in discordjs?

amber needle
#

ah that is the issue.

#

Thank you.