Message in case of inexistent playlist

This commit is contained in:
Twentysix 2016-03-16 05:06:33 +01:00
parent 6f26f39d46
commit 6775255bff

View File

@ -133,6 +133,8 @@ class Audio:
if random: shuffle(self.playlist)
self.music_player.paused = False
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)
async def skip(self, ctx):