fix: removed useless argument
This commit is contained in:
parent
a03b9cac9a
commit
06878eebb2
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class Shortmute(commands.Cog):
|
|||
edit_embed = discord.Embed(title="Shortmute confirmed!", description=f"**Moderator:** {interaction.user.mention}\n**Target:** {target.mention}\n**Duration:** {readable_duration}\n**Reason:** `{reason}`", color=await self.bot.get_embed_color(None))
|
||||
if evidence:
|
||||
edit_embed.set_image(url=evidence)
|
||||
message = await interaction.response.send_message(embed=edit_embed, view=None)
|
||||
message = await interaction.response.send_message(embed=edit_embed, ephemeral=True)
|
||||
await target.timeout(timedelta, reason=f"User shortmuted for {readable_duration} by {interaction.user.name} ({interaction.user.id}) for: {reason}")
|
||||
await interaction.channel.send(content=f"{target.mention} was shortmuted for {readable_duration} by {interaction.user.mention} for: `{reason}`")
|
||||
if await self.config.guild(interaction.guild).dm() is True:
|
||||
|
|
Loading…
Reference in a new issue