From f862affafced758aa60f332d8cb5dcd650c18e01 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 02:01:17 -0400 Subject: [PATCH] fix: confirmation skipped is now logged properly --- shortmute/shortmute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index b099573..8e05ac9 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -104,7 +104,7 @@ class Shortmute(commands.Cog): await message.edit(content="Could not message the target, user most likely has Direct Messages disabled.") logging_channels_list = await self.config.guild(interaction.guild).logging_channels() if logging_channels_list: - logging_embed = discord.Embed(title="User Shortmuted", description=f"**Moderator:** {interaction.user.mention} ({interaction.user.id})\n**Target:** {target.mention} ({target.id})\n**Duration:** {readable_duration}\n**Reason:** `{reason}`\n**Confirmation Skipped:** False", color=await self.bot.get_embed_color(None)) + logging_embed = discord.Embed(title="User Shortmuted", description=f"**Moderator:** {interaction.user.mention} ({interaction.user.id})\n**Target:** {target.mention} ({target.id})\n**Duration:** {readable_duration}\n**Reason:** `{reason}`\n**Confirmation Skipped:** True", color=await self.bot.get_embed_color(None)) logging_embed.set_footer(text="/shortmute") if evidence: logging_embed.set_image(url=evidence)