This commit is contained in:
Entarno54 2025-05-05 21:56:24 +07:00
parent 3165fa06f8
commit 76f5e5e320

View File

@ -85,9 +85,9 @@ class Voice(commands.Cog):
SquogEvilFilename = f"{SquogFinalName[:SquogLength]}mp3" SquogEvilFilename = f"{SquogFinalName[:SquogLength]}mp3"
#Starting the music #Starting the music
print(SquogPlaying[ctx.guild.id])
if SquogPlaying[ctx.guild.id] == True: if ctx.guild.id in SquogPlaying and SquogPlaying[ctx.guild.id]:
while SquogPlaying[ctx.guild.id] == True: while SquogPlaying[ctx.guild.id]:
SquogVoiceClient.play(nextcord.FFmpegPCMAudio(f"{SquogEvilFilename}")) SquogVoiceClient.play(nextcord.FFmpegPCMAudio(f"{SquogEvilFilename}"))
while SquogVoiceClient.is_playing(): while SquogVoiceClient.is_playing():
asyncio.sleep(.2) asyncio.sleep(.2)