From d4095846ad1de4ab7e8fb93d956abdf0d1ddc41a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 16 Dec 2023 20:31:50 -0500 Subject: [PATCH] fix(moderation): set durations of 0 to NULL instead of a timedelta representing 0 seconds --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index bea1616..8fe82b5 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1794,7 +1794,7 @@ class Moderation(commands.Cog): except OverflowError: continue else: - duration = timedelta(seconds=0) + duration = 'NULL' if case['resolved']: resolved = 1