[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:
Will
2018-04-15 18:01:56 -04:00
committed by palmtree5
parent d9fa875d84
commit 5be967e8c5
6 changed files with 122 additions and 60 deletions

View File

@@ -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 = {