diff options
| author | 2020-11-26 13:34:41 -0500 | |
|---|---|---|
| committer | 2020-11-26 13:34:41 -0500 | |
| commit | 1097a312ede49a5cbe3adeb051a5b666a293c319 (patch) | |
| tree | e973c098ee7ff126c474127e9af605a9c2025db7 | |
| parent | Changes requested by @MarkKoz, new `unclaim_channel` method (diff) | |
| parent | Merge 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.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 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) |