aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-05-07 19:37:13 +0530
committerGravatar GitHub <[email protected]>2021-05-07 19:37:13 +0530
commitabedb8edd55b122b176eb3499d288a7451aef563 (patch)
treeb4dfd0a2d6affe1a12007db373be6a80abfebf86
parentApply request grammar changes. (diff)
Missed out removing one argument from pban
-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 02ed5cb4c..f19323c7c 100644
--- a/bot/exts/moderation/infraction/infractions.py
+++ b/bot/exts/moderation/infraction/infractions.py
@@ -105,7 +105,7 @@ class Infractions(InfractionScheduler, commands.Cog):
If duration is specified, it temporarily bans that user for the given duration.
"""
- await self.apply_ban(ctx, user, reason, 1, 0, expires_at=duration)
+ await self.apply_ban(ctx, user, reason, 1, expires_at=duration)
@command(aliases=('vban',))
async def voiceban(