Music bot doesn't play sound with installed FFMpeg

Question:
I tried to add cog with music features to my bot and commands work, bot can join voice channel, but it doesnt play any sounds.

The code was working on another repl on its own, but in my code it just doesn’t, commands work but no sounds from the bot, myabe I installed FFMpeg wrong? Idk


Repl link:
https://replit.com/@judokampd/Adorable-King?v=1

I have found a way to download both ffmpeg binaries and load libopus.

In your replit.nix (it’s a hidden file) add pkgs.ffmpeg.bin to your dependencies and then add pkgs.libopus to your PYTHON_LD_LIBRARY_PATH env then you are good to go!

1 Like