I don't get this because it works on my bot without issues at all. However If I was to run your bot this spams up all the time for some odd reason. It happens upon login and upon every message it sees.
DWhen it sees messages:
Task exception was never retrieved
future: <Task finished coro=<_run_event() done, defined at E:\Users\Elsword\Desk
top\Klarity by Eleria\New folder (4)\MusicBot-master\discord\client.py:272> exce
ption=TypeError("cannot 'yield from' a coroutine object in a non-coroutine gener
ator",)>
Traceback (most recent call last):
File "E:\Users\Elsword\Desktop\Klarity by Eleria\New folder (4)\MusicBot-maste
r\discord\client.py", line 275, in _run_event
yield from getattr(self, event)(*args, **kwargs)
TypeError: cannot 'yield from' a coroutine object in a non-coroutine generator
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\Users\Elsword\Desktop\Klarity by Eleria\New folder (4)\MusicBot-maste
r\asyncio\tasks.py", line 238, in _step
result = next(coro)
File "E:\Users\Elsword\Desktop\Klarity by Eleria\New folder (4)\MusicBot-maste
r\discord\client.py", line 280, in _run_event
yield from self.on_error(event, *args, **kwargs)
TypeError: cannot 'yield from' a coroutine object in a non-coroutine generator
While logging in:
[INFO] launcher: Starting sanity checks
[INFO] launcher: Checking for python 3.5+
[INFO] launcher: Checking console encoding
[INFO] launcher: Setting console encoding to UTF-8
[INFO] launcher: Ensuring we're in the right folder
[INFO] launcher: Adding local bins/ folder to path
[INFO] launcher: Checks passed.
[INFO] launcher: Moving old musicbot log
Loaded autoplaylist with 3055 entries
Creating a client session outside of coroutine
client_session: <aiohttp.client.ClientSession object at 0x03820FB0>
Creating a client session outside of coroutine
client_session: <aiohttp.client.ClientSession object at 0x0387D0D0>
[INFO] launcher: ConnectingE:\Users\Elsword\Desktop\Klarity by Eleria\New folder
(4)\MusicBot-master\discord\client.py:275: RuntimeWarning: coroutine 'on_ready'
was never awaited
yield from getattr(self, event)(*args, **kwargs)
E:\Users\Elsword\Desktop\Klarity by Eleria\New folder (4)\MusicBot-master\discor
d\client.py:280: RuntimeWarning: coroutine 'on_error' was never awaited
yield from self.on_error(event, *args, **kwargs)
Task exception was never retrieved
future: <Task finished coro=<_run_event() done, defined at E:\Users\Elsword\Desk
top\Klarity by Eleria\New folder (4)\MusicBot-master\discord\client.py:272> exce
ption=TypeError("cannot 'yield from' a coroutine object in a non-coroutine gener
ator",)>
Traceback (most recent call last):
File "E:\Users\Elsword\Desktop\Klarity by Eleria\New folder (4)\MusicBot-maste
r\discord\client.py", line 275, in _run_event
yield from getattr(self, event)(*args, **kwargs)
TypeError: cannot 'yield from' a coroutine object in a non-coroutine generator
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\Users\Elsword\Desktop\Klarity by Eleria\New folder (4)\MusicBot-maste
r\asyncio\tasks.py", line 238, in _step
result = next(coro)
File "E:\Users\Elsword\Desktop\Klarity by Eleria\New folder (4)\MusicBot-maste
r\discord\client.py", line 280, in _run_event
yield from self.on_error(event, *args, **kwargs)
TypeError: cannot 'yield from' a coroutine object in a non-coroutine generator
I have no idea why this happens. I happens even if I downgrade discord.py on this from 0.16.2 to 0.12.0 So it is not the discord.py version at all.
It happens with not only the master branch for me but also the review branch.
I don't get this because it works on my bot without issues at all. However If I was to run your bot this spams up all the time for some odd reason. It happens upon login and upon every message it sees.
DWhen it sees messages:
While logging in:
I have no idea why this happens. I happens even if I downgrade discord.py on this from 0.16.2 to 0.12.0 So it is not the discord.py version at all.
It happens with not only the master branch for me but also the review branch.