From 3267dffdd321438fab6067224adb39340608fc6e Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 11 Aug 2023 16:44:42 -0400 Subject: [PATCH] feat: added an alias for confirmation, 'confirm' --- shortmute/shortmute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index 7236768..42ad7bd 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -324,7 +324,7 @@ class Shortmute(commands.Cog): await self.config.guild(ctx.guild).dm.set(enabled) await ctx.send(content=f"Shortmute Direct Message setting changed!\nOld value: `{old_value}`\nNew value: `{enabled}`") - @shortmute_config.command(name='confirmation') + @shortmute_config.command(name='confirmation', aliases=['confirm']) @commands.guild_only() @commands.admin() async def shortmute_config_confirmation(self, ctx: commands.Context, enabled: bool = None):