aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py
index e897b30ff..7b66b48c2 100644
--- a/bot/cogs/bot.py
+++ b/bot/cogs/bot.py
@@ -238,7 +238,7 @@ class BotCog(Cog, name="Bot"):
)
and not msg.author.bot
and len(msg.content.splitlines()) > 3
- and not TokenRemover.is_token_in_message(msg)
+ and not TokenRemover.find_token_in_message(msg)
)
if parse_codeblock: # no token in the msg