mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -05:00
[Downloader] Do the initialization in task to avoid timeout on bot startup (#3440)
* enhance(downloader): run init in task * chore(changelog): add towncrier entry * fix: address review
This commit is contained in:
@@ -3,5 +3,5 @@ from .downloader import Downloader
|
||||
|
||||
async def setup(bot):
|
||||
cog = Downloader(bot)
|
||||
await cog.initialize()
|
||||
bot.add_cog(cog)
|
||||
cog.create_init_task()
|
||||
|
||||
Reference in New Issue
Block a user