benjamin051000 / Alfred

A Discord bot written with the python API wrapper discord-py.
https://github.com/Rapptz/discord.py
MIT License
1 stars 0 forks source link

Update discord-py to 1.3.1 #18

Closed benjamin051000 closed 4 years ago

benjamin051000 commented 4 years ago

Problems with queueing music when the player is already playing:


  File "D:\discord_bots\Alfred\venv\lib\site-packages\discord\ext\commands\core.py", line 83, in wrapped
    ret = await coro(*args, **kwargs)
  File "D:\discord_bots\Alfred\src\music.py", line 165, in play
    await self.playsong(ctx, *query)
  File "D:\discord_bots\Alfred\src\music.py", line 183, in playsong
    await self.joinChannel(ctx, player)
  File "D:\discord_bots\Alfred\src\music.py", line 141, in joinChannel
    log.error('Player already connected.', e)
  File "D:\discord_bots\Alfred\src\logger.py", line 46, in error
    print(' '.join(msg))
TypeError: sequence item 1: expected str instance, ClientException found```