diff options
author | 2022-01-27 10:00:37 +0000 | |
---|---|---|
committer | 2022-01-27 10:00:37 +0000 | |
commit | c38d05a35ed2015bbd9a5681ccf38b3660fbe303 (patch) | |
tree | 79f7baf6b9b19cc9aac6fabc69d0581fabee1e50 /pydis_site/apps/api/models | |
parent | Merge pull request #645 from python-discord/fix-subarticles-button (diff) | |
parent | Merge branch 'main' into voicemute (diff) |
Merge pull request #608 from python-discord/voicemute
Diffstat (limited to 'pydis_site/apps/api/models')
-rw-r--r-- | pydis_site/apps/api/models/bot/infraction.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pydis_site/apps/api/models/bot/infraction.py b/pydis_site/apps/api/models/bot/infraction.py index 913631d4..c9303024 100644 --- a/pydis_site/apps/api/models/bot/infraction.py +++ b/pydis_site/apps/api/models/bot/infraction.py @@ -17,6 +17,7 @@ class Infraction(ModelReprMixin, models.Model): ("ban", "Ban"), ("superstar", "Superstar"), ("voice_ban", "Voice Ban"), + ("voice_mute", "Voice Mute"), ) inserted_at = models.DateTimeField( default=timezone.now, @@ -45,7 +46,7 @@ class Infraction(ModelReprMixin, models.Model): help_text="The user which applied the infraction." ) type = models.CharField( - max_length=9, + max_length=10, choices=TYPE_CHOICES, help_text="The type of the infraction." ) |