Skip to content

Commit

Permalink
style(moderation): bold moderator and target names for emphasis in em…
Browse files Browse the repository at this point in the history
…bed fields

style(moderation): prefix DM status with '-#' for better visual distinction
  • Loading branch information
kzndotsh committed Nov 18, 2024
1 parent cbe7660 commit 326046b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tux/cogs/moderation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ async def handle_case_response(
moderator = ctx.author

fields = [
("Moderator", f"{moderator}\n`{moderator.id}`", True),
("Target", f"{user}\n`{user.id}`", True),
("Moderator", f"**{moderator}**\n`{moderator.id}`", True),
("Target", f"**{user}**\n`{user.id}`", True),
("Reason", f"> {reason}", False),
]

Expand All @@ -262,7 +262,7 @@ async def handle_case_response(
icon_url=CONST.EMBED_ICONS["ACTIVE_CASE"],
)

embed.description = "DM successful" if dm_sent else "DM unsuccessful"
embed.description = "-# DM successful" if dm_sent else "-# DM unsuccessful"

await asyncio.gather(self.send_embed(ctx, embed, log_type="mod"), ctx.send(embed=embed, ephemeral=True))

Expand Down

0 comments on commit 326046b

Please sign in to comment.