From 89d34bb946f6b327f54411cd320140cc542e1516 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 7 Apr 2025 15:36:35 +0700 Subject: [PATCH] Other diff process thing --- commands/voice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/voice.py b/commands/voice.py index 8bcef06..04be364 100644 --- a/commands/voice.py +++ b/commands/voice.py @@ -2,7 +2,7 @@ import nextcord from nextcord.ext import commands import yt_dlp import os -import multiprocessing +import threading SquogFinalName: str = None @@ -74,7 +74,7 @@ class Voice(commands.Cog): SquogEvilFilename = f"{SquogFinalName[:SquogLength]}mp3" SquogVoiceClient.play(nextcord.FFmpegPCMAudio(f"{SquogEvilFilename}")) - multiprocessing.Process(target=Test).start() + threading.Thread(target=Test).start() @commands.command(description="Stops the music in voice channel") async def stop(self, ctx: nextcord.Message):