From 8da62882634dfc390e9496f836ee970e3ba633ba Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 15 Dec 2023 22:06:17 -0500 Subject: [PATCH] fix(moderation): testing a fix for timedelta fixes --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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