aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/models/bot
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-10-25 17:39:10 +0200
committerGravatar GitHub <[email protected]>2019-10-25 17:39:10 +0200
commit6f104d890d645af2c68d02108d1724df6a377547 (patch)
tree5839a19809a8fa00dea6d16f6bb3b552c8329637 /pydis_site/apps/api/models/bot
parentRemove breadcrumb truncation (diff)
parentMerge pull request #288 from python-discord/bot#466-reminder-jump_url (diff)
Merge branch 'master' into patch-1
Diffstat (limited to 'pydis_site/apps/api/models/bot')
-rw-r--r--pydis_site/apps/api/models/bot/reminder.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pydis_site/apps/api/models/bot/reminder.py b/pydis_site/apps/api/models/bot/reminder.py
index decc9391..d53fedb5 100644
--- a/pydis_site/apps/api/models/bot/reminder.py
+++ b/pydis_site/apps/api/models/bot/reminder.py
@@ -15,6 +15,12 @@ class Reminder(ModelReprMixin, models.Model):
"If not, it has been sent out to the user."
)
)
+ jump_url = models.URLField(
+ max_length=88,
+ help_text=(
+ "The jump url to the message that created the reminder"
+ )
+ )
author = models.ForeignKey(
User,
on_delete=models.CASCADE,