diff options
author | 2023-08-14 09:54:58 +0800 | |
---|---|---|
committer | 2023-08-26 23:44:16 +0800 | |
commit | 38ee27015a9c6a6207ab81a6f5ab669ab1bc1e57 (patch) | |
tree | 328215b2e9d10fac8358318c866480670a77054b | |
parent | Reply to original message when sending confirmation prompt (diff) |
Apply name changes from code review everywhere
-rw-r--r-- | bot/exts/utils/reminders.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utils/reminders.py b/bot/exts/utils/reminders.py index 1e3df4a53..885643100 100644 --- a/bot/exts/utils/reminders.py +++ b/bot/exts/utils/reminders.py @@ -48,7 +48,7 @@ class ModifyReminderConfirmationView(discord.ui.View): """A view to confirm modifying someone else's reminder by admins.""" def __init__(self, author: discord.Member | discord.User): - super().__init__(timeout=CONFIRMATION_TIMEOUT) + super().__init__(timeout=REMINDER_EDIT_CONFIRMATION_TIMEOUT) self.author = author self.result: bool | None = None @@ -578,7 +578,7 @@ class Reminders(Cog): if await has_any_role_check(ctx, Roles.admins): log.debug(f"{ctx.author} is an admin, asking for confirmation to modify someone else's.") - confirmation_view = ModifyConfirmationView(ctx.author) + confirmation_view = ModifyReminderConfirmationView(ctx.author) await ctx.reply( "Are you sure you want to modify someone else's reminder?", view=confirmation_view, |