From 3893e6ddc06ec7ea9b7423940ac9ca93bd6a0fd7 Mon Sep 17 00:00:00 2001 From: Gitea Date: Tue, 7 Feb 2023 21:48:25 +0000 Subject: [PATCH] Removed maxrate flag --- Music-Bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Music-Bot.py b/Music-Bot.py index 6187cb0..423c315 100644 --- a/Music-Bot.py +++ b/Music-Bot.py @@ -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 2 -bufsize 5M -maxrate 5M", options=ffmpeg_options), data=data) + before_options="-threads 2 -bufsize 5M", options=ffmpeg_options), data=data) intents = discord.Intents.default()