1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Use the right song when showing which one failed to download

This commit is contained in:
Phxntxm 2017-05-07 21:18:19 -05:00
parent 8f9e514260
commit 80c90f8d80

View file

@ -72,7 +72,7 @@ class VoiceState:
embed.title = "Now playing!"
await song.channel.send(embed=embed)
except ExtractionError as e:
await song.channel.send("Failed to download {}!\nError: {}".format(self.current.title, e))
await song.channel.send("Failed to download {}!\nError: {}".format(song.title, e))
continue
source = FFmpegPCMAudio(