diff options
| author | 2020-10-10 18:39:45 +0100 | |
|---|---|---|
| committer | 2020-10-10 18:39:45 +0100 | |
| commit | 071ef50cffcbe089e2d81933718dee1cfa834782 (patch) | |
| tree | 53a24c17e89050a701c61ee2dc3647728809a5f3 /pydis_site/apps/api/models/bot | |
| parent | Merge pull request #409 from dementati/feat/397-398-metricity-db-and-api (diff) | |
| parent | Remove multiple objects returning test case (diff) | |
Merge pull request #411 from ks129/voice-gate
Implement voice bans to API
Diffstat (limited to 'pydis_site/apps/api/models/bot')
| -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 7660cbba..60c1e8dd 100644 --- a/pydis_site/apps/api/models/bot/infraction.py +++ b/pydis_site/apps/api/models/bot/infraction.py @@ -15,7 +15,8 @@ class Infraction(ModelReprMixin, models.Model): ("mute", "Mute"), ("kick", "Kick"), ("ban", "Ban"), - ("superstar", "Superstar") + ("superstar", "Superstar"), + ("voice_ban", "Voice Ban"), ) inserted_at = models.DateTimeField( default=timezone.now, |