Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed role react issues #86

Merged
merged 1 commit into from
Dec 8, 2020
Merged

Conversation

PAndaContron
Copy link
Contributor

The role reaction cog recently broke, due to this change. Basically, Discord added a new "Intents" system for bots to have more granular permissions or something. By default, bots no longer have permission to access member data, which was causing issues. This PR fixes the issue simply by making the bot require all intents to avoid permission issues (there's only one other one that isn't enabled by default anyway). However, this fix comes with a few extra steps required:

First, it requires updating to the latest version of discord.py, so you'll need to run pip install -r requirements.txt again.

In addition, you also need to enable Privileged Intents on the bot's developer portal page:

  1. Go to the Discord developer portal
  2. Click on the bot's application
  3. Go to Bot on the left sidebar
  4. Under Privileged Gateway Intents enable both options

@rosalogia rosalogia merged commit 5cc6f10 into rosalogia:master Dec 8, 2020
@PAndaContron PAndaContron deleted the rolefix branch December 8, 2020 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants