From 985b2d4919aeeef3332337b186009392a4eec60a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 01:32:18 -0400 Subject: [PATCH] fix: incorrect grammar in send string --- shortmute/shortmute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index fc7c147..1b06566 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -100,7 +100,7 @@ class Shortmute(commands.Cog): edit_embed.set_image(url=evidence) old_message = await old_interaction.edit_original_response(embed=edit_embed, view=None) await target.timeout(timedelta, reason=f"User shortmuted for {readable_duration} by {old_interaction.user.name} ({old_interaction.user.id}) for: {reason}") - await old_interaction.channel.send(content=f"{target.mention} shortmuted for {readable_duration} by {old_interaction.user.mention} for: `{reason}`") + await old_interaction.channel.send(content=f"{target.mention} was shortmuted for {readable_duration} by {old_interaction.user.mention} for: `{reason}`") if await self.config.guild(old_interaction.guild).dm() is True: dm_embed = discord.Embed(title=f"You've been shortmuted in {old_interaction.guild.name}!", description=f"Moderator: {old_interaction.user.mention}\nTarget: {target.mention}\nDuration: {readable_duration}\nReason: `{reason}`", color=color) if evidence: