fix(moderation): fixed another unboundlocalerror

This commit is contained in:
Seaswimmer 2023-12-15 21:57:12 -05:00
parent 5a656ef9a0
commit 2adf7ed811
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -1725,6 +1725,7 @@ class Moderation(commands.Cog):
resolved = 1 resolved = 1
resolved_by = None resolved_by = None
resolved_reason = None resolved_reason = None
resolved_timestamp = None
if case['changes']: if case['changes']:
for change in case['changes']: for change in case['changes']:
if change['type'] == 'RESOLVE': if change['type'] == 'RESOLVE':