mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 12:18:54 -05:00
Fix the cog_before_invoke hook in Admin (#4124)
This commit is contained in:
parent
fb96392e73
commit
97379afe6d
@ -84,7 +84,7 @@ class Admin(commands.Cog):
|
||||
asyncio.create_task(self.handle_migrations())
|
||||
# As this is a data migration, don't store this for cancelation.
|
||||
|
||||
async def cog_before_invoke(self):
|
||||
async def cog_before_invoke(self, ctx: commands.Context):
|
||||
await self._ready.wait()
|
||||
|
||||
async def handle_migrations(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user