[Mod] Delegate send_to_owners call in initialize() to a task (#3573)

* fix(mod): delegate send_to_owners call in initialize() to a task

* enhance(mod): reorder cog's setup()
This commit is contained in:
jack1142
2020-02-19 08:12:50 +01:00
committed by GitHub
parent 9a8c134c97
commit 4956e67348
2 changed files with 10 additions and 3 deletions

View File

@@ -4,5 +4,5 @@ from .mod import Mod
async def setup(bot: Red):
cog = Mod(bot)
await cog.initialize()
bot.add_cog(cog)
await cog.initialize()