aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/models/bot
diff options
context:
space:
mode:
authorGravatar Steele Farnsworth <[email protected]>2022-07-10 19:34:52 -0400
committerGravatar GitHub <[email protected]>2022-07-10 19:34:52 -0400
commit2bd7361a9ebd1875c8e3f5323d539249469c7780 (patch)
tree028cc9eb7750a983d1060c562044231b4004da0e /pydis_site/apps/api/models/bot
parentUse font awesome lock icon that is available under free license (diff)
parentMerge pull request #739 from python-discord/more_frameworks (diff)
Merge branch 'main' into swfarnsworth/resources
Diffstat (limited to 'pydis_site/apps/api/models/bot')
-rw-r--r--pydis_site/apps/api/models/bot/message.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pydis_site/apps/api/models/bot/message.py b/pydis_site/apps/api/models/bot/message.py
index bab3368d..bfa54721 100644
--- a/pydis_site/apps/api/models/bot/message.py
+++ b/pydis_site/apps/api/models/bot/message.py
@@ -7,7 +7,6 @@ from django.utils import timezone
from pydis_site.apps.api.models.bot.user import User
from pydis_site.apps.api.models.mixins import ModelReprMixin
-from pydis_site.apps.api.models.utils import validate_embed
class Message(ModelReprMixin, models.Model):
@@ -48,9 +47,7 @@ class Message(ModelReprMixin, models.Model):
blank=True
)
embeds = pgfields.ArrayField(
- models.JSONField(
- validators=(validate_embed,)
- ),
+ models.JSONField(),
blank=True,
help_text="Embeds attached to this message."
)