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: