diff --git a/cogs/admin.py b/cogs/admin.py index 36a2ba2..7cb8c19 100644 --- a/cogs/admin.py +++ b/cogs/admin.py @@ -111,6 +111,10 @@ class Admin(MyCog): # Add cogs commands group to cog self.bot.tree.add_command(CogGroup(self.bot)) + async def cog_check(self, ctx): + admins = self.bot.owner_ids + return ctx.author.id in admins + async def setup(bot): await bot.add_cog(Admin(bot))