aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/models/bot
diff options
context:
space:
mode:
authorGravatar mina <[email protected]>2022-04-21 17:51:57 -0400
committerGravatar minalike <[email protected]>2022-04-21 19:33:27 -0400
commitebad433d4fa299085fd3bbba4a349de3088fb5d4 (patch)
tree9e7c88f66e8ba9b719b731f1f0562ca798829c52 /pydis_site/apps/api/models/bot
parentMerge pull request #716 from python-discord/support-string-colors (diff)
Add support for BIG SOLIDUS unicode characters for off topic names
We must add support for all B I G S O L I D U S. This is necessary.
Diffstat (limited to 'pydis_site/apps/api/models/bot')
-rw-r--r--pydis_site/apps/api/models/bot/off_topic_channel_name.py2
1 files changed, 1 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 e9fec114..b380efad 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
@@ -11,7 +11,7 @@ class OffTopicChannelName(ModelReprMixin, models.Model):
primary_key=True,
max_length=96,
validators=(
- RegexValidator(regex=r"^[a-z0-9\U0001d5a0-\U0001d5b9-ǃ?’'<>]+$"),
+ RegexValidator(regex=r"^[a-z0-9\U0001d5a0-\U0001d5b9-ǃ?’'<>⧹⧸]+$"),
),
help_text="The actual channel name that will be used on our Discord server."
)