fix(moderation): history now properly checks the epheremal argument
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s

This commit is contained in:
Seaswimmer 2023-12-13 15:00:36 -05:00
parent 71d7329696
commit 09d9a5239b
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -752,7 +752,7 @@ class Moderation(commands.Cog):
if bool(case['resolved']): if bool(case['resolved']):
field_value = field_value + "\n**Resolved:** True" field_value = field_value + "\n**Resolved:** True"
embed.add_field(name=field_name, value=field_value, inline=False) embed.add_field(name=field_name, value=field_value, inline=False)
await interaction.followup.send(embed=embed) await interaction.followup.send(embed=embed, ephemeral=ephemeral)
@app_commands.command(name="resolve") @app_commands.command(name="resolve")
async def resolve(self, interaction: discord.Interaction, case_number: int, reason: str = None): async def resolve(self, interaction: discord.Interaction, case_number: int, reason: str = None):