diff --git a/redbot/cogs/audio/__init__.py b/redbot/cogs/audio/__init__.py index 4955b3a14..95e03c692 100644 --- a/redbot/cogs/audio/__init__.py +++ b/redbot/cogs/audio/__init__.py @@ -50,7 +50,6 @@ async def setup(bot: commands.Bot): await start_lavalink_server(bot.loop) async def _finish(): - await asyncio.sleep(10) await cog.init_config() bot.add_cog(cog) diff --git a/redbot/cogs/audio/audio.py b/redbot/cogs/audio/audio.py index bd4a5200c..c62e11f90 100644 --- a/redbot/cogs/audio/audio.py +++ b/redbot/cogs/audio/audio.py @@ -44,7 +44,7 @@ class Audio: ws_port = await self.config.ws_port() await lavalink.initialize( - bot=self.bot, host=host, password=password, rest_port=rest_port, ws_port=ws_port + bot=self.bot, host=host, password=password, rest_port=rest_port, ws_port=ws_port, timeout=60 ) lavalink.register_event_listener(self.event_handler)