jack1142 2a38777379 [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
2020-01-24 12:38:42 -05:00

8 lines
133 B
Python

from .downloader import Downloader
async def setup(bot):
cog = Downloader(bot)
bot.add_cog(cog)
cog.create_init_task()