fix(moderation): pylint fix
This commit is contained in:
parent
817f2d8622
commit
eed3ad1748
1 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue