From 4d69cdb4fcda6244816a63bffd830fbcd3cb790f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 02:28:01 -0400 Subject: [PATCH] feat: added aliases to two of the config commands --- shortmute/shortmute.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index f6d6d39..ba7750e 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -169,7 +169,7 @@ class Shortmute(commands.Cog): async def shortmute_config(self, ctx: commands.Context): """This command group is used to configure the `/shortmute` slash command.""" - @shortmute_config.group(name='channel', invoke_without_command=True) + @shortmute_config.group(name='channel', invoke_without_command=True, aliases=['channels']) @commands.guild_only() @commands.admin() async def shortmute_config_channel(self, ctx: commands.Context): @@ -215,7 +215,7 @@ class Shortmute(commands.Cog): else: await ctx.send("Please provide a valid channel that exists in the logging channels list.") - @shortmute_config.group(name='role', invoke_without_command=True) + @shortmute_config.group(name='role', invoke_without_command=True, aliases=['roles']) @commands.guild_only() @commands.admin() async def shortmute_config_role(self, ctx: commands.Context):