From c7becb6d806b12f137b5172f4395afc0655a86b0 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Sun, 12 Aug 2018 19:45:46 -0700 Subject: [PATCH] [Audio] Handle playlist urls in [p]play (#1288) --- cogs/audio.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cogs/audio.py b/cogs/audio.py index 039ad0d91..0f6caee42 100644 --- a/cogs/audio.py +++ b/cogs/audio.py @@ -1483,6 +1483,10 @@ class Audio: voice_channel = author.voice_channel channel = ctx.message.channel + if "www.youtube.com/playlist" in url: + await self.bot.send_message(channel, "Use [p]playlist to manage playlist urls.") + return + # Checking if playing in current server if self.is_playing(server):