From 26225d37742de52287247204bde38a9f767f785c Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 15 Dec 2023 21:58:25 -0500 Subject: [PATCH] fix(moderation): fixed variable name --- moderation/moderation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index dda6b11..eea287e 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1731,14 +1731,14 @@ class Moderation(commands.Cog): if change['type'] == 'RESOLVE': resolved_by = change['staff'] resolved_reason = change['reason'] - resolve_timestamp = change['timestamp'] / 1000 + resolved_timestamp = change['timestamp'] / 1000 break if resolved_by is None: 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 + if resolved_timestamp is None: + resolved_timestamp = timestamp changes = [ { 'type': "ORIGINAL", @@ -1750,7 +1750,7 @@ class Moderation(commands.Cog): 'type': "RESOLVE", 'reason': resolved_reason, 'user_id': resolved_by, - 'timestamp': resolve_timestamp + 'timestamp': resolved_timestamp } ] else: