Fix the cog_before_invoke hook in Admin (#4124)

This commit is contained in:
jack1142 2020-07-28 16:29:20 +02:00 committed by GitHub
parent fb96392e73
commit 97379afe6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):