feat(moderation): added aliases (view, show) to moderationset list
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
This commit is contained in:
parent
7d4277f454
commit
8c347dd1f0
1 changed files with 1 additions and 1 deletions
|
@ -1330,7 +1330,7 @@ class Moderation(commands.Cog):
|
||||||
async def moderationset(self, ctx: commands.Context):
|
async def moderationset(self, ctx: commands.Context):
|
||||||
"""Manage moderation commands."""
|
"""Manage moderation commands."""
|
||||||
|
|
||||||
@moderationset.command(name='list')
|
@moderationset.command(name='list', aliases=['view', 'show'])
|
||||||
async def moderationset_list(self, ctx: commands.Context):
|
async def moderationset_list(self, ctx: commands.Context):
|
||||||
"""List all moderation settings."""
|
"""List all moderation settings."""
|
||||||
if ctx.guild:
|
if ctx.guild:
|
||||||
|
|
Loading…
Reference in a new issue