fix(moderation): fixed unboundlocalerror
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s
This commit is contained in:
parent
c2c8644d43
commit
5a656ef9a0
1 changed files with 2 additions and 0 deletions
|
@ -1736,6 +1736,8 @@ class Moderation(commands.Cog):
|
||||||
resolved_by = '?'
|
resolved_by = '?'
|
||||||
if resolved_reason is None:
|
if resolved_reason is None:
|
||||||
resolved_reason = 'Could not get resolve reason during moderation import.'
|
resolved_reason = 'Could not get resolve reason during moderation import.'
|
||||||
|
if resolve_timestamp is None:
|
||||||
|
resolve_timestamp = timestamp
|
||||||
changes = [
|
changes = [
|
||||||
{
|
{
|
||||||
'type': "ORIGINAL",
|
'type': "ORIGINAL",
|
||||||
|
|
Loading…
Reference in a new issue