fix(moderation): fixed broken check decorators
All checks were successful
Pylint / Pylint (push) Successful in 1m7s
All checks were successful
Pylint / Pylint (push) Successful in 1m7s
This commit is contained in:
parent
41daea645d
commit
c251b2f29b
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue