fix(moderation): set durations of 0 to NULL instead of a timedelta representing 0 seconds
This commit is contained in:
parent
95a2e3b520
commit
d4095846ad
1 changed files with 1 additions and 1 deletions
|
@ -1794,7 +1794,7 @@ class Moderation(commands.Cog):
|
|||
except OverflowError:
|
||||
continue
|
||||
else:
|
||||
duration = timedelta(seconds=0)
|
||||
duration = 'NULL'
|
||||
|
||||
if case['resolved']:
|
||||
resolved = 1
|
||||
|
|
Loading…
Reference in a new issue