"BitFieldInvalid" error

I keep getting the "BitFieldInvalid" error. It says throw new DiscordjsRangeError(ErrorCodes.BitFieldInvalid, bit); ^ RangeError [BitFieldInvalid]: Invalid bitfield flag or number: GUILDS.
12 Replies
d.js toolkit
d.js toolkit2y 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.
ghehusbcbrhjrjxnnxnnxnx
its is Node.js v18.16.1 @d.js toolkit
Squid
Squid2y ago
On the dev branch, the intent is currently named Guilds
ghehusbcbrhjrjxnnxnnxnx
what do you mean?
Squid
Squid2y ago
You're not using the "dev release" of discord.js like your tag says, are you?
Squid
Squid2y ago
Your code needs to use code matching the same discord.js version as the one outputted by the command that Qjuh recommended
ghehusbcbrhjrjxnnxnnxnx
alright
Zaxee
Zaxee2y ago
Bro why did you mention the bot 😭
Youssef
Youssef2y ago
lol
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server