mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
[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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user