From 0a5b4233e11918aa70df76b112443e787d6454ad Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 25 Jan 2018 15:30:07 +0100 Subject: [PATCH] Linuxopus --- discordbot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discordbot.py b/discordbot.py index cfaa072c..32a8c289 100644 --- a/discordbot.py +++ b/discordbot.py @@ -33,7 +33,7 @@ finally: # Init the discord bot client = discord.Client() -discord.opus.load_opus("libopus-0.dll") +discord.opus.load_opus("/usr/lib/x86_64-linux-gnu/libopus.so") voice_client = None voice_player = None voice_queue = [] @@ -58,7 +58,7 @@ class Video: self.enqueued = enqueued self.channel = channel return self - + def create_embed(self): embed = discord.Embed(type="rich", title=self.info.get("title"), @@ -382,4 +382,4 @@ def process(users_connection=None): if __name__ == "__main__": - process() \ No newline at end of file + process()