fix(moderation): fixed formatting in mute command
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 1m0s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 1m0s
This commit is contained in:
parent
be565f9458
commit
5babdb74c2
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ class Moderation(commands.Cog):
|
|||
except discord.errors.HTTPException:
|
||||
pass
|
||||
moderation_id = await self.mysql_log(interaction.guild.id, interaction.user.id, 'MUTE', target.id, 0, parsed_time, reason)
|
||||
await interaction.edit_original_response(content=f"{target.mention} has been muted for {humanize.precisedelta(parsed_time)}! (Case `#{moderation_id})\n**Reason** - `{reason}`")
|
||||
await interaction.edit_original_response(content=f"{target.mention} has been muted for {humanize.precisedelta(parsed_time)}! (Case `#{moderation_id}`)\n**Reason** - `{reason}`")
|
||||
await self.log(interaction, moderation_id)
|
||||
|
||||
@app_commands.command(name="unmute")
|
||||
|
|
Loading…
Reference in a new issue