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
d.js toolkit
d.js toolkit13mo ago
- 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
d.js docs
d.js docs13mo ago
- 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 Intents
treble/luna
treble/luna13mo ago
also reset your tokens
Soarmen
SoarmenOP13mo ago
Thats what I was doing... I was swapping the tokens but it kept crashing and I dont know why.
treble/luna
treble/luna13mo ago
because you didnt allow the intents
Soarmen
SoarmenOP13mo ago
wait let me double check. Omg I had one of them off. Thank you.
Want results from more Discord servers?
Add your server