[Remainders] Update

- Send no context if None type is present
This commit is contained in:
Harsha Raghu
2022-01-18 00:08:25 +05:30
parent b92866f954
commit 36a98b1224

View File

@@ -155,7 +155,9 @@ class Reminder:
description=self.data.content,
timestamp=datetime.datetime.utcnow()
)
embed.add_field(name="Context?", value="[Click here]({})".format(self.data.message_link))
if self.data.message_link:
embed.add_field(name="Context?", value="[Click here]({})".format(self.data.message_link))
if self.data.interval:
embed.add_field(