Used disallowed intents
I have all intents granted in my developer portal, but my app keeps throwing the error, "Used disallowed intents".
26 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.Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
If you are using the GuildMembers
, GuildPresences
, or MessageContent
intents, you need to enable them in the developer portal:
- Developer Portal > Your app > Bot > Privileged Gateway Intentsalready have done this
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
is that required?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
one sec
I am reading messages from the user, then replying to the user with message and reaction
I dont need anything else
but I had these here and they worked before, is my constructor out of date
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yeah its saved
the intents were never turned off iirc
I just unchecked and rechecked just to make sure
nothing has changed since I last used this
other than maybe I was on a different discord.js version? i dont remember when the last update was
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
just tried and yeah, unfortunately I do
Should I just try making a new bot, im not opposed to doing that it wouldnt affect much
i dont know what else to do this is weird
its been 5mins since I updated the intents I think
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i just fresh installed discord.js
💀
i intiially had this bot on another machine but it wasnt working
so I switched to my main machine
and fresh installed discord.js
and the same error on both
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
just tried that too
So now all I have is
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
kk
same thing
disallowed
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
its okay I appreciate the help
im going to go thriough and enable the intents one by one
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
looks like MessageContent and GuildMembers trip the error
all the others work
did they change the ability for unverified bots to have access? that would be quite annoying
i've never had an issue with this before
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yeah its really strange
ill try making a new bot or something
:((
thanks for the help though
looks like that did the trick
strange
I don't believe so, it's def possible but I could have sworn I double checked that
Oh well, thanks for the help anyhow