diff options
author | 2019-01-05 15:54:57 +0100 | |
---|---|---|
committer | 2019-01-05 15:54:57 +0100 | |
commit | 336fd9616d6b858d3df682ec0180bc0ebbbce225 (patch) | |
tree | 2ec1333d5c8cf020ee4c8c0616b6411c43370f57 /api/models.py | |
parent | Document deployment. (diff) |
Add the `note` infraction type.
Diffstat (limited to 'api/models.py')
-rw-r--r-- | api/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/models.py b/api/models.py index 21b5975a..480dba3d 100644 --- a/api/models.py +++ b/api/models.py @@ -241,10 +241,11 @@ class Infraction(ModelReprMixin, models.Model): """An infraction for a Discord user.""" TYPE_CHOICES = ( + ("note", "Note"), ("warning", "Warning"), ("mute", "Mute"), - ("ban", "Ban"), ("kick", "Kick"), + ("ban", "Ban"), ("superstar", "Superstar") ) inserted_at = models.DateTimeField( |