diff --git a/moderation/moderation.py b/moderation/moderation.py index 9b76746..3f26fea 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1719,7 +1719,10 @@ class Moderation(commands.Cog): timestamp = round(case['timestamp'] / 1000) if case['duration']: - duration = timedelta(seconds=round(float(case['duration']) / 1000)) + try: + duration = timedelta(seconds=round(float(case['duration']) / 1000)) + except OverflowError: + continue if case['resolved']: resolved = 1