forked from blizzthewolf/SeaCogs
fix(moderation): fixed unboundlocalerror
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 = '?'
|
||||
if resolved_reason is None:
|
||||
resolved_reason = 'Could not get resolve reason during moderation import.'
|
||||
if resolve_timestamp is None:
|
||||
resolve_timestamp = timestamp
|
||||
changes = [
|
||||
{
|
||||
'type': "ORIGINAL",
|
||||
|
|
Loading…
Reference in a new issue