[Audio] Handle playlist urls in [p]play (#1288)

This commit is contained in:
aikaterna 2018-08-12 19:45:46 -07:00 committed by Toby Harradine
parent 15bf5c5e1f
commit c7becb6d80

View File

@ -1483,6 +1483,10 @@ class Audio:
voice_channel = author.voice_channel voice_channel = author.voice_channel
channel = ctx.message.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 # Checking if playing in current server
if self.is_playing(server): if self.is_playing(server):