#Guild#disableInvites returns 403
5 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - 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)
your bot needs the ManageGuild permission, but you'll need to make sure you're editing the correct guild
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)