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

Get rid of youtube-dl's stupid colour formatting

This commit is contained in:
Phxntxm 2017-05-07 21:21:46 -05:00
parent 80c90f8d80
commit d61f2fa472

View file

@ -72,7 +72,8 @@ 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(song.title, e))
error = e..partition(" ")[2]
await song.channel.send("Failed to download {}!\nError: {}".format(song.title, error))
continue
source = FFmpegPCMAudio(