fix(moderation): history now properly checks the epheremal argument
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 54s
This commit is contained in:
parent
71d7329696
commit
09d9a5239b
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue