Added threads flag

This commit is contained in:
Lukas Blacha
2023-02-07 22:35:48 +01:00
parent ba14c23ed9
commit 7e0a927c2b

View File

@@ -77,7 +77,7 @@ else:
filename = data["url"] if stream else ytdl.prepare_filename(data)
return cls(discord.FFmpegPCMAudio(source=filename, executable="ffmpeg", pipe=False, stderr=False,
before_options="-threads 8", options=ffmpeg_options), data=data)
before_options="-threads 2", options=ffmpeg_options), data=data)
intents = discord.Intents.default()
intents.message_content = True