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

Syntax error

This commit is contained in:
Phxntxm 2017-05-07 21:22:14 -05:00
parent d61f2fa472
commit 9fda74775c

View file

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