misc: improved logging embed
This commit is contained in:
parent
985b2d4919
commit
1252e19668
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue