diff options
author | 2022-01-31 00:42:55 +0400 | |
---|---|---|
committer | 2022-01-31 00:45:32 +0400 | |
commit | 77a2b731c1b7132ab56a7f27ac665e4d71e0d169 (patch) | |
tree | 0c371647c53f249b769d5e2d1e0688cf472ff261 /pydis_site/apps/api/models | |
parent | Revert ugly deploy preview redirect hack. (diff) | |
parent | Merge pull request #649 from python-discord/update-pyfakefs (diff) |
Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-main
Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
# poetry.lock
# pyproject.toml
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." ) |