Intents

I plan to give my bot all intents (32767), How do I do that because I used to use
const bot = new Discord.Client({intents: new Discord.Intents(32767)})
const bot = new Discord.Client({intents: new Discord.Intents(32767)})
2 Replies
d.js docs
d.js docs3y ago
• 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. We highly recommend only specifying the intents you actually need. • Note, that 98303, 32767 or whatever other magic number you read represents "all intents", somewhere, gets outdated as soon as new intents are introduced. • The number will always represent the same set of intents, excluding new ones, there is no magic "all intents" bit.
doqe
doqeOP3y ago
thanks!
Want results from more Discord servers?
Add your server