diff --git a/moderation/moderation.py b/moderation/moderation.py index 0c6072b..6da9406 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -749,7 +749,7 @@ class Moderation(commands.Cog): try: filename = str(data_manager.cog_data_path(cog_instance=self)) + str(os.sep) + f"moderation_{interaction.guild.id}.json" with open(filename, "w") as f: - json.dump(result_dict_list, f) + json.dump(result_dict_list, f, indent=2) await interaction.followup.send(file=discord.File(filename, f"moderation_{interaction.guild.id}.json"), ephemeral=ephemeral) os.remove(filename) return