aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/models
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2022-01-01 14:28:53 +0200
committerGravatar mbaruh <[email protected]>2022-01-01 14:28:53 +0200
commit1798edc10ff5e5adaffe9879f2a9ebb8a7b5c926 (patch)
tree984fb8393fe0a8f17499cb89cc306de455841453 /pydis_site/apps/api/models
parentMerged infraction and notification settings in JSON (diff)
parentMerge pull request #637 from python-discord/mbaruh-patch-1 (diff)
Merge branch 'main' into new-filter-schema
Diffstat (limited to 'pydis_site/apps/api/models')
-rw-r--r--pydis_site/apps/api/models/bot/off_topic_channel_name.py7
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 8999e560..e9fec114 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):