Cannot read properties of null (reading 'id')
Hey, so I have a code that worked everytime, but now not longer...
Version: 14.11.0
9 Replies
- 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.
- Issue solved? Press the button!Code:
If more is needed to help, please ping me
Could you confirm your version with
npm i discord.js
?yes
still the same
is the command being executed in a dm?
do you have the guilds intent or ^
Nope, in the server
Oh, seems to be this the error...
I guess I have to beg discord to give me the guilds intent since I only got the message content intent
you just have to enable it in your client?
Its not a privileged intent
Uhm...
cgx.exe stopped working
Well, that resolved it, thanks