aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2020-10-08 17:11:56 +1000
committerGravatar GitHub <[email protected]>2020-10-08 17:11:56 +1000
commit47b06305f567f0ef2d8cb98c7357910cdb61fbd1 (patch)
treea5b171924f9fbebdec428e8b6a878a8252e73f36
parentAdd the ability to purge and ban in one command. (diff)
Update bot/exts/moderation/infraction/infractions.py
Co-authored-by: Dennis Pham <[email protected]>
-rw-r--r--bot/exts/moderation/infraction/infractions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/infractions.py b/bot/exts/moderation/infraction/infractions.py
index 9d6de1a97..7cf7075e6 100644
--- a/bot/exts/moderation/infraction/infractions.py
+++ b/bot/exts/moderation/infraction/infractions.py
@@ -71,7 +71,7 @@ class Infractions(InfractionScheduler, commands.Cog):
"""Permanently ban a user for the given reason and stop watching them with Big Brother."""
await self.apply_ban(ctx, user, reason)
- @command()
+ @command(aliases=('pban',))
async def purgeban(
self,
ctx: Context,