diff --git a/moderation/moderation.py b/moderation/moderation.py index fbde93a..0468620 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1788,7 +1788,22 @@ class Moderation(commands.Cog): resolved_reason = 'NULL' changes = [] - await Moderation.mysql_log(self.cog_instance, self.ctx.guild.id, case['executor'], case['type'], case['target'], 0, duration, case['reason'], timestamp=timestamp, resolved=resolved, resolved_by=resolved_by, resolved_reason=resolved_reason, changes=changes, database=database) + await Moderation.mysql_log( + self.cog_instance, + self.ctx.guild.id, + case['executor'], + case['type'], + case['target'], + 0, + duration, + case['reason'], + timestamp=timestamp, + resolved=resolved, + resolved_by=resolved_by, + resolved_reason=resolved_reason, + changes=changes, + database=database + ) await interaction.edit_original_response(content="Import complete.")