1
0
Fork 0
mirror of synced 2024-06-23 08:40:41 +12:00

Changed say to send_message, as for some reason the channel was not being resolved automatically

This commit is contained in:
Phxntxm 2016-08-06 06:50:28 -05:00
parent 3357e5a9f0
commit d729decf14

View file

@ -155,7 +155,7 @@ class Music:
try:
player = await state.voice.create_ytdl_player(song, ytdl_options=state.opts, after=state.toggle_next)
except youtube_dl.DownloadError:
await self.bot.say("Sorry, that's not a supported URL!")
await self.bot.send_message(ctx.message.channel,"Sorry, that's not a supported URL!")
return
player.volume = 0.6
entry = VoiceEntry(ctx.message, player)