diff options
author | 2019-10-01 14:51:41 -0700 | |
---|---|---|
committer | 2019-10-01 18:25:34 -0700 | |
commit | 42d358829153bf98cfac3b7e01045a51d65ed801 (patch) | |
tree | fc46e65adfe34704ec82a5b23f9115151b8f8e4e | |
parent | Fix string representation of bot user in mod log (diff) |
Display username in addition to id for unmutes in mod log
-rw-r--r-- | bot/cogs/moderation/infractions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/cogs/moderation/infractions.py b/bot/cogs/moderation/infractions.py index 3b956e6e1..8f217fdba 100644 --- a/bot/cogs/moderation/infractions.py +++ b/bot/cogs/moderation/infractions.py @@ -284,6 +284,7 @@ class Infractions(Scheduler, Cog): icon_url=INFRACTION_ICONS["mute"][1] ) + log_text["Member"] = f"{user.mention}(`{user.id}`)" log_text["DM"] = "Sent" if notified else "**Failed**" else: log.info(f"Failed to unmute user {user_id}: user not found") |