aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/utils/reminders.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/exts/utils/reminders.py b/bot/exts/utils/reminders.py
index 885643100..c8d7b05b9 100644
--- a/bot/exts/utils/reminders.py
+++ b/bot/exts/utils/reminders.py
@@ -570,8 +570,9 @@ class Reminders(Cog):
if e.status == 404:
return False
raise e
+ owner_id = api_response["author"]
- if api_response["author"] == ctx.author.id:
+ if owner_id == ctx.author.id:
log.debug(f"{ctx.author} is the reminder's author and passes the check.")
return True
@@ -580,7 +581,7 @@ class Reminders(Cog):
confirmation_view = ModifyReminderConfirmationView(ctx.author)
await ctx.reply(
- "Are you sure you want to modify someone else's reminder?",
+ "Are you sure you want to modify <@{owner_id}>'s reminder?",
view=confirmation_view,
)
await confirmation_view.wait()