diff --git a/Music-Bot.py b/Music-Bot.py index eda415c..34f1c37 100644 --- a/Music-Bot.py +++ b/Music-Bot.py @@ -50,7 +50,7 @@ else: }], } - ffmpeg_options = {"options": "-vn -threads 2"} + ffmpeg_options = {"options": "-vn"} ytdl = yt_dlp.YoutubeDL(ytdl_format_options) @@ -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=None, options=ffmpeg_options), data=data) + before_options="-threads 4", options=ffmpeg_options), data=data) intents = discord.Intents.default() intents.message_content = True