diff --git a/moderation/moderation.py b/moderation/moderation.py index 3c718cc..61a6973 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -27,11 +27,12 @@ class Moderation(commands.Cog): return not_found_list @commands.group(autohelp=True) - @checks.is_owner + @checks.admin() async def moderationset(self, ctx: commands.Context): """Manage moderation commands.""" @moderationset.command(name="mysql") + @checks.is_owner() async def moderationset_mysql(self, ctx: commands.Context): """Configure MySQL connection details.""" await ctx.send(content="Click the button below to configure your MySQL connection details.", view=self.ConfigButtons(60))