mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
* fix(mod): delegate send_to_owners call in initialize() to a task * enhance(mod): reorder cog's setup()
9 lines
149 B
Python
9 lines
149 B
Python
from redbot.core.bot import Red
|
|
from .mod import Mod
|
|
|
|
|
|
async def setup(bot: Red):
|
|
cog = Mod(bot)
|
|
bot.add_cog(cog)
|
|
await cog.initialize()
|