diff options
Diffstat (limited to 'bot/converters.py')
-rw-r--r-- | bot/converters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/converters.py b/bot/converters.py index d0a9731d6..0d9a519df 100644 --- a/bot/converters.py +++ b/bot/converters.py @@ -350,7 +350,7 @@ class Duration(DurationDelta): try: return now + delta - except ValueError: + except (ValueError, OverflowError): raise BadArgument(f"`{duration}` results in a datetime outside the supported range.") |