diff options
author | 2020-10-08 17:11:56 +1000 | |
---|---|---|
committer | 2020-10-08 17:11:56 +1000 | |
commit | 47b06305f567f0ef2d8cb98c7357910cdb61fbd1 (patch) | |
tree | a5b171924f9fbebdec428e8b6a878a8252e73f36 | |
parent | Add 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.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 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, |