fix(moderation): pylint fix

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

View file

@ -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: