diff options
author | 2021-05-19 13:13:57 +0530 | |
---|---|---|
committer | 2021-05-19 13:13:57 +0530 | |
commit | d061ab1c138c7cecf8d138226990bdcf0761a5db (patch) | |
tree | c46609c3d3687e3c943f9e5004e3eb5914561918 /pydis_site/apps/api/models | |
parent | Merge pull request #505 from python-discord/poetry-and-python-3.9 (diff) |
Add active field to OffTopicChannelName model.
Diffstat (limited to 'pydis_site/apps/api/models')
-rw-r--r-- | pydis_site/apps/api/models/bot/off_topic_channel_name.py | 7 |
1 files changed, 6 insertions, 1 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 403c7465..582c069e 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 @@ -18,7 +18,12 @@ class OffTopicChannelName(ModelReprMixin, models.Model): used = models.BooleanField( default=False, - help_text="Whether or not this name has already been used during this rotation", + help_text="Whether or not this name has already been used during this rotation.", + ) + + active = models.BooleanField( + default=True, + help_text="Whether or not this name should be considered for naming channels." ) def __str__(self): |