diff options
author | 2021-05-07 19:37:13 +0530 | |
---|---|---|
committer | 2021-05-07 19:37:13 +0530 | |
commit | abedb8edd55b122b176eb3499d288a7451aef563 (patch) | |
tree | b4dfd0a2d6affe1a12007db373be6a80abfebf86 | |
parent | Apply request grammar changes. (diff) |
Missed out removing one argument from pban
-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 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( |