From d729decf145543c4b0164a213ae8f2ed4e9fd7c4 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sat, 6 Aug 2016 06:50:28 -0500 Subject: [PATCH] Changed say to send_message, as for some reason the channel was not being resolved automatically --- cogs/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/playlist.py b/cogs/playlist.py index e158800..3bf44b3 100644 --- a/cogs/playlist.py +++ b/cogs/playlist.py @@ -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)