I\'m trying to make a discord bot that plays music in a voice channel. It connects to the voice channel, but doesn\'t play anything. It also gives an error in the console.
You can specify the FFmpeg executable directly with the argument executable:
vc = await channel.connect() vc.play(discord.FFmpegPCMAudio(executable="C:/path/ffmpeg.exe", source="mp3.mp3"))