-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Why did this happen?
This happened because Discord changed their API by deploying their intention-based Gateway API, which in turn, broke the underlying code library used to communicate with the Discord API, discord.js. You can see their FAQ update here.
How do I fix my bot then?
- First things, first. As
discord.jsnow requires a newer version of Node.js, you must upgrade Node.js to at leastv12.x. - Secondly, you'll need to upgrade your Apollo instance(s) to the latest version of
v3. You can do this, by doing this:
git pull origin master
npm install
npm run build- Because of those new API changes, Apollo requires one of the
Privileged Gateway Intentsto function correctly. To set this up correctly, navigate to your Bot application page in the Discord Developer portal (e.g.https://discord.com/developers/applications/xxxx/bot). Here you'll need to flip the toggle forSERVER MEMBERS INTENTto on.
Now, Apollo should be working fine!