diff --git a/moderation/importers/moderation.py b/moderation/importers/moderation.py index 35d2c2e..7c02126 100644 --- a/moderation/importers/moderation.py +++ b/moderation/importers/moderation.py @@ -31,7 +31,7 @@ class ImportModerationView(ui.View): await interaction.edit_original_response(content="Importing moderations...") file = await self.ctx.message.attachments[0].read() - data = sorted(json.loads(file), key=lambda x: x['case']) + data = sorted(json.loads(file), key=lambda x: x['moderation_id']) user_mod_types = [ 'NOTE',