fix(moderation): testing a fix for timedelta fixes

This commit is contained in:
Seaswimmer 2023-12-15 22:06:17 -05:00
parent 5e45da84fc
commit 8da6288263
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -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