fix(moderation): testing a fix for timedelta fixes
This commit is contained in:
parent
5e45da84fc
commit
8da6288263
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue