diff options
author | 2020-09-01 17:51:41 +0300 | |
---|---|---|
committer | 2020-09-01 17:51:41 +0300 | |
commit | e0df21ce0be32ce37803951f82a9a5754ddef1f5 (patch) | |
tree | a145ec9b3421bbe90cffb0747e3dc94d35bd8fe5 /pydis_site/apps/api/models | |
parent | Replace bad import on migration (diff) | |
parent | Merge pull request #380 from ks129/off-topic-non-random (diff) |
Merge branch 'master' into tags-cleanup
Diffstat (limited to 'pydis_site/apps/api/models')
-rw-r--r-- | pydis_site/apps/api/models/bot/off_topic_channel_name.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pydis_site/apps/api/models/bot/off_topic_channel_name.py b/pydis_site/apps/api/models/bot/off_topic_channel_name.py index 20e77b9f..403c7465 100644 --- a/pydis_site/apps/api/models/bot/off_topic_channel_name.py +++ b/pydis_site/apps/api/models/bot/off_topic_channel_name.py @@ -16,6 +16,11 @@ class OffTopicChannelName(ModelReprMixin, models.Model): help_text="The actual channel name that will be used on our Discord server." ) + used = models.BooleanField( + default=False, + help_text="Whether or not this name has already been used during this rotation", + ) + def __str__(self): """Returns the current off-topic name, for display purposes.""" return self.name |