aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-09-22 20:44:38 -0700
committerGravatar MarkKoz <[email protected]>2020-09-22 20:44:38 -0700
commit1ae971423ae5fcf3f8a68bcacbf1591c2ccf0aac (patch)
treed622ece88420eaaa0adc32f386209a3bd5d67ae3
parentAvoid using discord.Object's repr as the username for infraction search (diff)
Clean: fix mention in mod log message
Fixes BOT-99
-rw-r--r--bot/exts/utils/clean.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/clean.py b/bot/exts/utils/clean.py
index 5a5ee9a81..bf25cb4c2 100644
--- a/bot/exts/utils/clean.py
+++ b/bot/exts/utils/clean.py
@@ -179,7 +179,7 @@ class Clean(Cog):
message = (
f"**{len(message_ids)}** messages deleted in {target_channels} by "
- f"{ctx.author.name.mention}\n\n"
+ f"{ctx.author.mention}\n\n"
f"A log of the deleted messages can be found [here]({log_url})."
)