fix(moderation): fixed another unboundlocalerror
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s
This commit is contained in:
parent
5a656ef9a0
commit
2adf7ed811
1 changed files with 1 additions and 0 deletions
|
@ -1725,6 +1725,7 @@ class Moderation(commands.Cog):
|
|||
resolved = 1
|
||||
resolved_by = None
|
||||
resolved_reason = None
|
||||
resolved_timestamp = None
|
||||
if case['changes']:
|
||||
for change in case['changes']:
|
||||
if change['type'] == 'RESOLVE':
|
||||
|
|
Loading…
Reference in a new issue