From 76f5e5e320576b4b4eec11c303fff3741e3ee183 Mon Sep 17 00:00:00 2001 From: Entarno54 Date: Mon, 5 May 2025 21:56:24 +0700 Subject: [PATCH] Fixes --- commands/voice.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/voice.py b/commands/voice.py index 20b4e20..3703ed9 100644 --- a/commands/voice.py +++ b/commands/voice.py @@ -85,9 +85,9 @@ class Voice(commands.Cog): SquogEvilFilename = f"{SquogFinalName[:SquogLength]}mp3" #Starting the music - - if SquogPlaying[ctx.guild.id] == True: - while SquogPlaying[ctx.guild.id] == True: + print(SquogPlaying[ctx.guild.id]) + if ctx.guild.id in SquogPlaying and SquogPlaying[ctx.guild.id]: + while SquogPlaying[ctx.guild.id]: SquogVoiceClient.play(nextcord.FFmpegPCMAudio(f"{SquogEvilFilename}")) while SquogVoiceClient.is_playing(): asyncio.sleep(.2)