
Voice_ay(FFmpegPCMAudio(URL, **FFMPEG_OPTIONS))

Info = ydl.extract_info(self.music_queue.pop(0), download=False)

This is the code we're currently using for the music bot: from discord import FFmpegPCMAudioįrom import AsyncIOSchedulerįrom import CronTriggerįrom youtubesearchpython import VideosSearchĬlass cmd_music(commands.Cog, name="music_commands"): I'm interested in how to fix this and the explanation for why this is happening. It's also very impractical since downloading a 1h song takes a while and is space consuming. But the quality was still far from anything like Fredboat's. The only thing that improved quality a little bit was downloading the song before playing it. I've built a discord music bot in discord.py but for some reason, it doesn't play music in as high quality as Fredboat or Rythm(so I don't think voice chat's bitrate is the problem).
