aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-12-31 18:56:28 +0000
committerGravatar Chris Lovering <[email protected]>2022-02-16 22:12:04 +0000
commit954c1a963dc3917e02e0fb0ff4560131db8f20b4 (patch)
tree664a092e4ebef867f064aaeaf5e00190cec72012
parentChange purgeban to use custom clean logic (diff)
Add more aliases to purgeban
-rw-r--r--bot/exts/moderation/infraction/infractions.py4
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,