From f3b2a9872fe0784d0ac5cd6cea65e592eae0ace4 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 2 Jun 2019 18:22:14 +0200 Subject: [PATCH] Skip paused songs --- royalnet/commands/skip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalnet/commands/skip.py b/royalnet/commands/skip.py index 238cf885..a91a02b4 100644 --- a/royalnet/commands/skip.py +++ b/royalnet/commands/skip.py @@ -23,7 +23,7 @@ class SkipNH(NetworkHandler): guild = list(bot.music_data)[0] # Set the currently playing source as ended voice_client: discord.VoiceClient = bot.client.find_voice_client_by_guild(guild) - if not voice_client.is_playing(): + if not (voice_client.is_playing() or voice_client.is_paused()): raise NoneFoundError("Nothing to skip") # noinspection PyProtectedMember voice_client._player.stop()