aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}."