forked from blizzthewolf/SeaCogs
fix(moderation): fixed changes in imports
This commit is contained in:
parent
418cff9de6
commit
c2c8644d43
1 changed files with 9 additions and 6 deletions
|
@ -1723,6 +1723,9 @@ class Moderation(commands.Cog):
|
||||||
|
|
||||||
if case['resolved']:
|
if case['resolved']:
|
||||||
resolved = 1
|
resolved = 1
|
||||||
|
resolved_by = None
|
||||||
|
resolved_reason = None
|
||||||
|
if case['changes']:
|
||||||
for change in case['changes']:
|
for change in case['changes']:
|
||||||
if change['type'] == 'RESOLVE':
|
if change['type'] == 'RESOLVE':
|
||||||
resolved_by = change['staff']
|
resolved_by = change['staff']
|
||||||
|
|
Loading…
Reference in a new issue