dev #4

Merged
Arthur merged 12 commits from dev into main 2024-06-02 15:04:56 +02:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit dfe9d3da74 - Show all commits

View File

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