mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 19:58:54 -05:00
Message in case of inexistent playlist
This commit is contained in:
parent
6f26f39d46
commit
6775255bff
@ -133,6 +133,8 @@ class Audio:
|
|||||||
if random: shuffle(self.playlist)
|
if random: shuffle(self.playlist)
|
||||||
self.music_player.paused = False
|
self.music_player.paused = False
|
||||||
if self.music_player.is_playing(): self.music_player.stop()
|
if self.music_player.is_playing(): self.music_player.stop()
|
||||||
|
else:
|
||||||
|
await self.bot.say("There's no playlist with that name.")
|
||||||
|
|
||||||
@commands.command(pass_context=True, aliases=["next"], no_pm=True)
|
@commands.command(pass_context=True, aliases=["next"], no_pm=True)
|
||||||
async def skip(self, ctx):
|
async def skip(self, ctx):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user