Skip to content

Commit adab847

Browse files
committed
Also fix silent placeholder in new_reminder when reply has no content
1 parent 6392b8f commit adab847

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bot/exts/utils/reminders.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@ async def new_reminder(
493493
# If `content` isn't provided then we try to get message content of a replied message
494494
if not content:
495495
content = await self.try_get_content_from_reply(ctx)
496+
if content is None:
497+
return
496498

497499
# Now we can attempt to actually set the reminder.
498500
reminder = await self.bot.api_client.post(

0 commit comments

Comments
 (0)