aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-07-12 18:26:30 -0700
committerGravatar MarkKoz <[email protected]>2020-07-31 22:58:05 -0700
commit4d5dedc492c070b4fe98d630026ef7e0504ff5a8 (patch)
tree5c634f14912e9cf4aa4d084b95bcd7fe582896ee
parentReminders: remove _delete_reminder function (diff)
Reminders: fix reminder_id type annotation
It's fine to accept an int since it'll get converted to a string anyway.
-rw-r--r--bot/cogs/reminders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/reminders.py b/bot/cogs/reminders.py
index 14fe43efb..a043b7d75 100644
--- a/bot/cogs/reminders.py
+++ b/bot/cogs/reminders.py
@@ -80,7 +80,7 @@ class Reminders(Cog):
async def _send_confirmation(
ctx: Context,
on_success: str,
- reminder_id: str,
+ reminder_id: t.Union[str, int],
delivery_dt: t.Optional[datetime],
) -> None:
"""Send an embed confirming the reminder change was made successfully."""