aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-10-18 09:23:44 +0300
committerGravatar GitHub <[email protected]>2020-10-18 09:23:44 +0300
commitbfd740be8cc0368df38a24906df592aa8f27c4e6 (patch)
tree7b19acbed68ec4a09b3f284c83565dc6566e9e05
parentFix grammar of voice ban pardoning message (diff)
Fix name and aliases of voice ban command
Co-authored-by: Joe Banks <[email protected]>
-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 a5eb720ab..2ccb1ca97 100644
--- a/bot/exts/moderation/infraction/infractions.py
+++ b/bot/exts/moderation/infraction/infractions.py
@@ -89,8 +89,8 @@ class Infractions(InfractionScheduler, commands.Cog):
"""
await self.apply_ban(ctx, user, reason, max(min(purge_days, 7), 0))
- @command(aliases=('vban', 'voiceban'))
- async def voice_ban(self, ctx: Context, user: FetchedMember, *, reason: t.Optional[str]) -> None:
+ @command(aliases=('vban',))
+ async def voiceban(self, ctx: Context, user: FetchedMember, *, reason: t.Optional[str]) -> None:
"""Permanently ban user from using voice channels."""
await self.apply_voice_ban(ctx, user, reason)