Made the bot working again...

This commit is contained in:
Gitea
2023-02-07 21:55:41 +00:00
parent 3893e6ddc0
commit 52cf259c20

View File

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