aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steele <[email protected]>2020-11-26 13:34:41 -0500
committerGravatar Steele <[email protected]>2020-11-26 13:34:41 -0500
commit1097a312ede49a5cbe3adeb051a5b666a293c319 (patch)
treee973c098ee7ff126c474127e9af605a9c2025db7
parentChanges requested by @MarkKoz, new `unclaim_channel` method (diff)
parentMerge pull request #1307 from python-discord/sebastiaan/bugs/add-voiceban-to-... (diff)
Merge branch 'master' of https://github.com/python-discord/bot into Stelercus/close_command
-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 746d4e154..6056df1d2 100644
--- a/bot/exts/moderation/infraction/infractions.py
+++ b/bot/exts/moderation/infraction/infractions.py
@@ -27,7 +27,7 @@ class Infractions(InfractionScheduler, commands.Cog):
category_description = "Server moderation tools."
def __init__(self, bot: Bot):
- super().__init__(bot, supported_infractions={"ban", "kick", "mute", "note", "warning"})
+ super().__init__(bot, supported_infractions={"ban", "kick", "mute", "note", "warning", "voice_ban"})
self.category = "Moderation"
self._muted_role = discord.Object(constants.Roles.muted)