feat: added an alias for confirmation, 'confirm'
This commit is contained in:
parent
f0767343e9
commit
3267dffdd3
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue