fix(moderation): fixed unboundlocalerror
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s

This commit is contained in:
Seaswimmer 2023-12-15 21:56:12 -05:00
parent c2c8644d43
commit 5a656ef9a0
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -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",