Corrected error when printing the queue
This commit is contained in:
parent
796ae55ffd
commit
3357e5a9f0
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class Music:
|
||||||
if not state.is_playing():
|
if not state.is_playing():
|
||||||
await self.bot.say('Not playing any music right now...')
|
await self.bot.say('Not playing any music right now...')
|
||||||
return
|
return
|
||||||
fmt = "\n".join(x for x in state.songs._queue)
|
fmt = "\n".join(str(x) for x in state.songs._queue)
|
||||||
await self.bot.say("Current songs in the queue:```\n{}```".format(fmt))
|
await self.bot.say("Current songs in the queue:```\n{}```".format(fmt))
|
||||||
|
|
||||||
@commands.command(pass_context=True, no_pm=True)
|
@commands.command(pass_context=True, no_pm=True)
|
||||||
|
|
Loading…
Reference in a new issue