From 1252e196680278d99cfca54ad83f8742ce1f06cf Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 01:33:34 -0400 Subject: [PATCH] misc: improved logging embed --- shortmute/shortmute.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index 1b06566..ae72f3a 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -111,7 +111,8 @@ class Shortmute(commands.Cog): await old_message.edit(content="Could not message the target, user most likely has Direct Messages disabled.") logging_channels_list = await self.config.guild(old_interaction.guild).logging_channels() if logging_channels_list: - logging_embed = discord.Embed(title="Shortmute", description=f"Moderator: {old_interaction.user.mention} ({old_interaction.user.id})\nTarget: {target.mention} ({target.id})\nDuration: {readable_duration}\nReason: `{reason}`", color=color) + logging_embed = discord.Embed(title="User Shortmuted", description=f"Moderator: {old_interaction.user.mention} ({old_interaction.user.id})\nTarget: {target.mention} ({target.id})\nDuration: {readable_duration}\nReason: `{reason}`", color=color) + logging_embed.set_footer(text="/shortmute") if evidence: logging_embed.set_image(url=evidence) for channel_id in logging_channels_list: