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