mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Linuxopus
This commit is contained in:
parent
7d2eb02d0c
commit
0a5b4233e1
1 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
process()
|
||||
|
|
Loading…
Reference in a new issue