aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kraktus <[email protected]>2019-10-07 21:42:49 +0200
committerGravatar GitHub <[email protected]>2019-10-07 21:42:49 +0200
commit25d4c05b2656ce8d9454269c77d42e18fb1ba785 (patch)
tree965bf7e67bb07c79b83cd6a030dacd83e06d4ba1
parentAnother fix (diff)
fix linting error
fix linting error
-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: