Describe the bug
When you move the bot when it just joined the channel, it might connect but the bot might not be able to play the song. In this instance the buttons get registered and the bot is in the voice channel, but the song did not get played.
To Reproduce
Steps to reproduce the behavior:
Play a song
Immedietly when the bot joins the voice channel, move the bot to another voice channel
Check command_channel to see that the player embed did not update.
See error
Expected behavior
The bot recovers from this sudden move.
Additional context
[ERROR] Task exception was never retrieved
future: <Task finished name='Task-144' coro=<Reaction.register..refresh() done, defined at ...\src\commander\element\Reaction.py:39> exception=AttributeError("'NoneType' object has no attribute 'volume'")>
Traceback (most recent call last):
File ...\src\commander\element\Reaction.py", line 59, in refresh
await res
File "...\src\music\player.py", line 121, in raise_volume
self.connected_client.source.volume = self.volume/100
AttributeError: 'NoneType' object has no attribute 'volume'
Describe the bug When you move the bot when it just joined the channel, it might connect but the bot might not be able to play the song. In this instance the buttons get registered and the bot is in the voice channel, but the song did not get played.
To Reproduce Steps to reproduce the behavior:
Expected behavior The bot recovers from this sudden move.
Additional context