Guild#disableInvites returns 403
Hello! I am trying to enable disableInvites, but every time Guild#disableInvites is called, I get a missing access error (API error 50001 and error code 403). What permission (or intent?) do I need for my bot to turn off invites?
4 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.
- Issue solved? Press the button!(Node 18.16.0 LTS, discord.js 14.11.0)
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Forgot to say that I figured it out :P I gave it the Administrator permission, but my testing guild had Community disabled (and I also assume that GuildInvites had to be put on as an intent, so I gave it that too)
Thank you :)