diff options
| author | 2021-03-01 02:22:59 -0800 | |
|---|---|---|
| committer | 2021-03-01 02:22:59 -0800 | |
| commit | 5b31aa992db27cd1798e4dce5f1c4256aa8848fa (patch) | |
| tree | e2127d6c0700cb2e4d0bffa8b3216b1559e405e4 | |
| parent | Add alias !u for !user (diff) | |
Add alias !tban for !tempban
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/moderation/infraction/infractions.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/bot/exts/moderation/infraction/infractions.py b/bot/exts/moderation/infraction/infractions.py index 7349d65f2..406c6b53f 100644 --- a/bot/exts/moderation/infraction/infractions.py +++ b/bot/exts/moderation/infraction/infractions.py @@ -126,7 +126,7 @@ class Infractions(InfractionScheduler, commands.Cog):              duration = await Duration().convert(ctx, "1h")          await self.apply_mute(ctx, user, reason, expires_at=duration) -    @command() +    @command(aliases=("tban",))      async def tempban(          self,          ctx: Context, | 
