From c251b2f29be25acb7ddaafb122d2cecfb8d80b2d Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 24 Sep 2023 23:57:39 -0400 Subject: [PATCH] fix(moderation): fixed broken check decorators --- moderation/moderation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))