Skip to content

Experiencing commands not working? See here. #154

@CreepPork

Description

@CreepPork

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?

  1. First things, first. As discord.js now requires a newer version of Node.js, you must upgrade Node.js to at least v12.x.
  2. 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
  1. Because of those new API changes, Apollo requires one of the Privileged Gateway Intents to 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 for SERVER MEMBERS INTENT to on.

Now, Apollo should be working fine!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions