aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-06-11 07:53:19 +0300
committerGravatar GitHub <[email protected]>2020-06-11 07:53:19 +0300
commit55263370183b516198d8986cc22c6bfe5d7693c9 (patch)
tree57fd8580443eb1b9e03df68b7807bfbfec5f3dba
parentFiltering: Fix some comments (diff)
Filtering: Fix nickname filter alert sending spaces
Co-authored-by: Joseph Banks <[email protected]>
-rw-r--r--bot/cogs/filtering.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py
index 45e712626..ff915ea2c 100644
--- a/bot/cogs/filtering.py
+++ b/bot/cogs/filtering.py
@@ -168,11 +168,13 @@ class Filtering(Cog):
return
log.info(f"Sending bad nickname alert for '{member.display_name}' ({member.id}).")
+
log_string = (
f"**User:** {member.mention} (`{member.id}`)\n"
f"**Display Name:** {member.display_name}\n"
f"**Bad Matches:** {', '.join(match.group() for match in matches)}"
)
+
await self.mod_log.send_log_message(
icon_url=Icons.token_removed,
colour=Colours.soft_red,