Fix: load opus on debian

This commit is contained in:
a 2024-10-21 21:55:51 +00:00
parent a966e8af05
commit 52ed4f40bb

View file

@ -456,6 +456,7 @@ class Music(Cog):
for path in [
"/usr/lib/libopus.so",
"/usr/lib/libopus.so.0",
"/usr/lib/x86_64-linux-gnu/libopus.so.0" # debian WHY
]:
try:
discord.opus.load_opus(path)