Syntax error
This commit is contained in:
parent
d61f2fa472
commit
9fda74775c
|
@ -72,7 +72,7 @@ class VoiceState:
|
||||||
embed.title = "Now playing!"
|
embed.title = "Now playing!"
|
||||||
await song.channel.send(embed=embed)
|
await song.channel.send(embed=embed)
|
||||||
except ExtractionError as e:
|
except ExtractionError as e:
|
||||||
error = e..partition(" ")[2]
|
error = e.partition(" ")[2]
|
||||||
await song.channel.send("Failed to download {}!\nError: {}".format(song.title, error))
|
await song.channel.send("Failed to download {}!\nError: {}".format(song.title, error))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue