diff options
| author | 2020-07-12 18:26:30 -0700 | |
|---|---|---|
| committer | 2020-07-31 22:58:05 -0700 | |
| commit | 4d5dedc492c070b4fe98d630026ef7e0504ff5a8 (patch) | |
| tree | 5c634f14912e9cf4aa4d084b95bcd7fe582896ee | |
| parent | Reminders: 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.py | 2 |
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.""" |