aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/models
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2023-03-25 18:29:31 +0300
committerGravatar mbaruh <[email protected]>2023-03-25 18:29:31 +0300
commitd6565845ec07b9d76949da36505b3f53e402d230 (patch)
treedf6042e326740729dd17fe93d158e5cc9fcddd27 /pydis_site/apps/api/models
parentMake the unique constraint reversible (diff)
Documentation improvements and fixes
Co-authored-by: Amrou <[email protected]>
Diffstat (limited to 'pydis_site/apps/api/models')
-rw-r--r--pydis_site/apps/api/models/bot/filters.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pydis_site/apps/api/models/bot/filters.py b/pydis_site/apps/api/models/bot/filters.py
index 584ee726..60ae394b 100644
--- a/pydis_site/apps/api/models/bot/filters.py
+++ b/pydis_site/apps/api/models/bot/filters.py
@@ -101,7 +101,7 @@ class FilterList(ModelTimestampMixin, ModelReprMixin, models.Model):
)
disabled_channels = ArrayField(
models.CharField(max_length=100),
- help_text="Channels in which to not run the filter."
+ help_text="Channels in which to not run the filter even if it's enabled in the category."
)
enabled_categories = ArrayField(
models.CharField(max_length=100),
@@ -216,7 +216,8 @@ class FilterBase(ModelTimestampMixin, ModelReprMixin, models.Model):
)
disabled_channels = ArrayField(
models.CharField(max_length=100),
- help_text="Channels in which to not run the filter.", null=True
+ help_text="Channels in which to not run the filter even if it's enabled in the category.",
+ null=True
)
enabled_categories = ArrayField(
models.CharField(max_length=100),