no message
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user