mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1a56dde8a7
2 changed files with 5 additions and 5 deletions
|
@ -33,7 +33,7 @@ finally:
|
||||||
|
|
||||||
# Init the discord bot
|
# Init the discord bot
|
||||||
client = discord.Client()
|
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_client = None
|
||||||
voice_player = None
|
voice_player = None
|
||||||
voice_queue = []
|
voice_queue = []
|
||||||
|
@ -58,7 +58,7 @@ class Video:
|
||||||
self.enqueued = enqueued
|
self.enqueued = enqueued
|
||||||
self.channel = channel
|
self.channel = channel
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def create_embed(self):
|
def create_embed(self):
|
||||||
embed = discord.Embed(type="rich",
|
embed = discord.Embed(type="rich",
|
||||||
title=self.info.get("title"),
|
title=self.info.get("title"),
|
||||||
|
@ -382,4 +382,4 @@ def process(users_connection=None):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
process()
|
process()
|
||||||
|
|
|
@ -38,6 +38,6 @@ def page_challenge_one():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
try:
|
try:
|
||||||
app.run(host="0.0.0.0", port=1234, debug=True)
|
app.run(host="0.0.0.0", port=1234)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue