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 b8de29f2a..eab253681 100644
--- a/bot/cogs/bot.py
+++ b/bot/cogs/bot.py
@@ -238,7 +238,7 @@ class Bot(Cog):
and len(msg.content.splitlines()) > 3
)
- if parse_codeblock and not TokenRemover.is_token_in_message(TokenRemover, msg): # if there is no token in the code
+ if parse_codeblock and not TokenRemover.is_token_in_message(TokenRemover, msg): # no token in the msg
on_cooldown = (time.time() - self.channel_cooldowns.get(msg.channel.id, 0)) < 300
if not on_cooldown or DEBUG_MODE:
try: