fix(moderation): set durations of 0 to NULL instead of a timedelta representing 0 seconds
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
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