aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-10-21 05:48:39 +0530
committerGravatar Shivansh-007 <[email protected]>2021-10-21 05:48:39 +0530
commit70948bc6ae3191030e3e173aacc1acd5890b3be7 (patch)
tree45146c7f99b92920e1e18a62f2aaf6d4f3c29bf5
parentFix helpers view perms check to use 'permissions_for' (diff)
Missed a change for 43bed60
-rw-r--r--bot/exts/moderation/incidents.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/incidents.py b/bot/exts/moderation/incidents.py
index 82add2579..20e73ccf5 100644
--- a/bot/exts/moderation/incidents.py
+++ b/bot/exts/moderation/incidents.py
@@ -587,7 +587,7 @@ class Incidents(Cog):
If no links are found for the message, just log a trace statement.
"""
- message_links = DISCORD_MESSAGE_LINK_RE.findall(str(message.content))
+ message_links = DISCORD_MESSAGE_LINK_RE.findall(message.content)
if not message_links:
log.trace(
f"No message links detected on incident message with id {message.id}."