From eed3ad174802ffcd3979a98fe8cf96d2e1ff44ee Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 14 Dec 2023 20:29:48 -0500 Subject: [PATCH] fix(moderation): pylint fix --- moderation/moderation.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index a78caf4..2d4c06a 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1166,9 +1166,8 @@ class Moderation(commands.Cog): os.remove(filename) return - else: - await interaction.response.send_message(content=f"```json\n{json.dumps(case_dict, indent=2)}```", ephemeral=ephemeral) - return + await interaction.response.send_message(content=f"```json\n{json.dumps(case_dict, indent=2)}```", ephemeral=ephemeral) + return if changes: embed = await self.embed_factory('changes', interaction=interaction, case_dict=case_dict) else: