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

Error in discord.py version 1.5.0 #47

Closed
erwinowak opened this issue Oct 5, 2020 · 3 comments · Fixed by #48
Closed

Error in discord.py version 1.5.0 #47

erwinowak opened this issue Oct 5, 2020 · 3 comments · Fixed by #48
Labels
bug Something isn't working

Comments

@erwinowak
Copy link
Contributor

Describe the bug

Is there a chance to upgrade to discord.py 1.5.0
In version 1.3.4 it is ok

Server:

  • OS: MacOS
  • Python version: 3.8.5
  • discord.py version: 1.5.0

Traceback

Ignoring exception in on_raw_reaction_add
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/discord/client.py", line 333, in _run_event
    await coro(*args, **kwargs)
  File "/Users/erwinowak/Desktop/reaction-light-master/bot.py", line 521, in on_raw_reaction_add
    await member.add_roles(role)
AttributeError: 'NoneType' object has no attribute 'add_roles'
@erwinowak erwinowak added the bug Something isn't working label Oct 5, 2020
@eibex
Copy link
Owner

eibex commented Oct 5, 2020

Sorry, I have been terribly busy lately. I will look into it as soon as I can, hopefully this evening but it will be done by the end of the week at the latest.

@erwinowak
Copy link
Contributor Author

Sorry, I have been terribly busy lately. I will look into it as soon as I can, hopefully this evening but it will be done by the end of the week at the latest.

I would be very grateful for your help. In return, when using the bot and the code itself, I will remember you everywhere.

@eibex
Copy link
Owner

eibex commented Oct 8, 2020

Please read the CHANGELOG or the Setup section of the README to see what steps you need to manually do to get the bot working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants