diff --git a/moderation/importers/moderation.py b/moderation/importers/moderation.py index addf85b..a4b5be1 100644 --- a/moderation/importers/moderation.py +++ b/moderation/importers/moderation.py @@ -76,6 +76,8 @@ class ImportModerationView(ui.View): minutes=duration_t.minutes, seconds=duration_t.seconds ) + else: + duration = 'NULL' await mysql_log( self.ctx.guild.id,