aboutsummaryrefslogtreecommitdiffstats
path: root/api/models.py
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2019-01-05 15:54:57 +0100
committerGravatar Johannes Christ <[email protected]>2019-01-05 15:54:57 +0100
commit336fd9616d6b858d3df682ec0180bc0ebbbce225 (patch)
tree2ec1333d5c8cf020ee4c8c0616b6411c43370f57 /api/models.py
parentDocument deployment. (diff)
Add the `note` infraction type.
Diffstat (limited to 'api/models.py')
-rw-r--r--api/models.py3
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(