diff options
author | 2021-12-31 18:56:28 +0000 | |
---|---|---|
committer | 2022-02-16 22:12:04 +0000 | |
commit | 954c1a963dc3917e02e0fb0ff4560131db8f20b4 (patch) | |
tree | 664a092e4ebef867f064aaeaf5e00190cec72012 | |
parent | Change purgeban to use custom clean logic (diff) |
Add more aliases to purgeban
-rw-r--r-- | bot/exts/moderation/infraction/infractions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/moderation/infraction/infractions.py b/bot/exts/moderation/infraction/infractions.py index 20fcf28f9..e2c4c9ee4 100644 --- a/bot/exts/moderation/infraction/infractions.py +++ b/bot/exts/moderation/infraction/infractions.py @@ -96,8 +96,8 @@ class Infractions(InfractionScheduler, commands.Cog): """ await self.apply_ban(ctx, user, reason, expires_at=duration) - @command(aliases=('pban',)) - async def purgeban( + @command(aliases=("cban", "purgeban", "pban")) + async def cleanban( self, ctx: Context, user: UnambiguousMemberOrUser, |