You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\mypc\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 255, in _run_event
await coro(*args, **kwargs)
File "C:\Users\mypc\Desktop\dban.py", line 38, in on_message
async for msg in client.logs_from(message.channel,limit=9999):
AttributeError: 'Client' object has no attribute 'logs_from'
The text was updated successfully, but these errors were encountered:
Simply extract the folder, cd to the folder and type python3 pip uninstall discord.py then
type python3.5 setup.py install
Change the line in the script where it says client.server to client.guilds and it will print out the names of the servers you are in and it will work
Note at the moment this only works on windows with python 3.5.4
I have tried replicating this “fix” on arch Linux and it still produces the same issues
Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\mypc\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 255, in _run_event
await coro(*args, **kwargs)
File "C:\Users\mypc\Desktop\dban.py", line 38, in on_message
async for msg in client.logs_from(message.channel,limit=9999):
AttributeError: 'Client' object has no attribute 'logs_from'
The text was updated successfully, but these errors were encountered: