From 5a656ef9a0fe70dce7ef013a6c117c98efa96884 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 15 Dec 2023 21:56:12 -0500 Subject: [PATCH] fix(moderation): fixed unboundlocalerror --- moderation/moderation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moderation/moderation.py b/moderation/moderation.py index 0e3eb59..838320b 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1736,6 +1736,8 @@ class Moderation(commands.Cog): resolved_by = '?' if resolved_reason is None: resolved_reason = 'Could not get resolve reason during moderation import.' + if resolve_timestamp is None: + resolve_timestamp = timestamp changes = [ { 'type': "ORIGINAL",