feat(moderation): added aliases (view, show) to moderationset list
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s

This commit is contained in:
Seaswimmer 2023-12-15 10:36:52 -05:00
parent 7d4277f454
commit 8c347dd1f0
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -1330,7 +1330,7 @@ class Moderation(commands.Cog):
async def moderationset(self, ctx: commands.Context):
"""Manage moderation commands."""
@moderationset.command(name='list')
@moderationset.command(name='list', aliases=['view', 'show'])
async def moderationset_list(self, ctx: commands.Context):
"""List all moderation settings."""
if ctx.guild: