aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-01-05 16:41:29 -0500
committerGravatar sco1 <[email protected]>2019-01-05 16:41:29 -0500
commit1c965ac25bceab3d1d9a57aa0be515c02334ff94 (patch)
treedbb19667b73467debcee071764714b862dd4fa00
parentMarginally smarter filter notification logic (diff)
Use explicit channel mention
-rw-r--r--bot/cogs/filtering.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py
index d5f19a7cc..247ee26b8 100644
--- a/bot/cogs/filtering.py
+++ b/bot/cogs/filtering.py
@@ -130,7 +130,7 @@ class Filtering:
if isinstance(msg.channel, DMChannel):
channel_str = "via DM"
else:
- channel_str = f"in <#{msg.channel.id}>"
+ channel_str = f"in {msg.channel.mention}"
message = (
f"The {filter_name} {_filter['type']} was triggered "