Add extra flag on reminder fetch
This commit is contained in:
parent
5d8dc31dc3
commit
004d8d1091
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ class RemindmeCog(Scale):
|
|||
|
||||
embed.set_thumbnail(url=ctx.author.display_avatar)
|
||||
await ctx.send(embed=embed, ephemeral=reminder.private)
|
||||
if reminder.remind_at <= datetime.now(tz=timezone.utc):
|
||||
if reminder.remind_at <= datetime.now(tz=timezone.utc) and not reminder.active:
|
||||
try:
|
||||
await reminder.delete()
|
||||
except Exception:
|
||||
|
|
Loading…
Add table
Reference in a new issue