fix(moderation): pylint fix
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 46s

This commit is contained in:
Seaswimmer 2023-12-14 20:29:48 -05:00
parent 817f2d8622
commit eed3ad1748
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -1166,9 +1166,8 @@ class Moderation(commands.Cog):
os.remove(filename) os.remove(filename)
return return
else: await interaction.response.send_message(content=f"```json\n{json.dumps(case_dict, indent=2)}```", ephemeral=ephemeral)
await interaction.response.send_message(content=f"```json\n{json.dumps(case_dict, indent=2)}```", ephemeral=ephemeral) return
return
if changes: if changes:
embed = await self.embed_factory('changes', interaction=interaction, case_dict=case_dict) embed = await self.embed_factory('changes', interaction=interaction, case_dict=case_dict)
else: else: