mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Audio] Handle playlist urls in [p]play (#1288)
This commit is contained in:
parent
15bf5c5e1f
commit
c7becb6d80
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user