no message

This commit is contained in:
2017-06-02 18:47:47 +02:00
parent 13571ccb2f
commit 4e44b73542
+1 -1
View File
@@ -143,7 +143,7 @@ class Music:
return return
try: try:
player = yield from state.voice.create_ytdl_player(song, ytdl_options=opts, after=state.toggle_next) player = yield from state.voice.create_ytdl_player(song, ytdl_options=opts, after=state.toggle_next, use_avconv=True)
except Exception as e: except Exception as e:
fmt = 'Error: ```py\n{}: {}\n```' fmt = 'Error: ```py\n{}: {}\n```'
yield from self.bot.send_message(ctx.message.channel, fmt.format(type(e).__name__, e)) yield from self.bot.send_message(ctx.message.channel, fmt.format(type(e).__name__, e))