mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[V3 Audio] Harden Lavalink boot sequence (#1498)
* Do a bit of hardening * Loop not asyncio * Don't use new asyncio coolness * I hate you all * Muck up everything * Fix version comparisons
This commit is contained in:
@@ -16,7 +16,7 @@ __author__ = ["aikaterna", "billy/bollo/ati"]
|
||||
class Audio:
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
self.config = Config.get_conf(self, 2711759128, force_registration=True)
|
||||
self.config = Config.get_conf(self, 2711759130, force_registration=True)
|
||||
|
||||
default_global = {
|
||||
"host": 'localhost',
|
||||
@@ -24,7 +24,8 @@ class Audio:
|
||||
"ws_port": '2332',
|
||||
"password": 'youshallnotpass',
|
||||
"status": False,
|
||||
"current_build": 0
|
||||
"current_build": [3, 0, 0, 'alpha', 0],
|
||||
"use_external_lavalink": False
|
||||
}
|
||||
|
||||
default_guild = {
|
||||
|
||||
Reference in New Issue
Block a user