Added missing line to allow the !queue command to give more information

This commit is contained in:
James Seden Smith 2016-02-15 16:16:31 +00:00
parent af373901df
commit 1ba777c697

View File

@ -246,6 +246,7 @@ class Audio:
if not self.playlist: if not self.playlist:
self.queue.append(link) self.queue.append(link)
msg = ctx.message msg = ctx.message
result = await self.get_song_metadata(link)
if result["title"] != []: if result["title"] != []:
await self.bot.say("{} has been put into the queue by {}.".format(result["title"], msg.author)) await self.bot.say("{} has been put into the queue by {}.".format(result["title"], msg.author))
else: else: