Crashing on token switch
For some reason, when I am switching the token for my bot the node modules don't like it and crash the application. Does anyone know why this is?
6 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 OP-
Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
- Error: Used disallowed intents
If you are using the GuildMembers
, GuildPresences
, or MessageContent
intents, you need to enable them via Developer Portal > Your app > Bot > Privileged Gateway Intentsalso
reset your tokens
Thats what I was doing...
I was swapping the tokens but it kept crashing and I dont know why.
because you didnt allow the intents
wait let me double check.
Omg I had one of them off.
Thank you.