mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 10:17:59 -05:00
[Audio] More robust startup and unload (#2118)
* More robust cleanup for audio and streams Signed-off-by: Toby Harradine <tobyharradine@gmail.com> * Remove copied code from streams Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
@@ -52,6 +52,6 @@ async def setup(bot: commands.Bot):
|
||||
await maybe_download_lavalink(bot.loop, cog)
|
||||
await start_lavalink_server(bot.loop)
|
||||
|
||||
await cog.initialize()
|
||||
|
||||
bot.add_cog(cog)
|
||||
bot.loop.create_task(cog.disconnect_timer())
|
||||
bot.loop.create_task(cog.init_config())
|
||||
|
||||
Reference in New Issue
Block a user