aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/bot.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py
index 001e2e2fe..1b5662ab1 100644
--- a/bot/cogs/bot.py
+++ b/bot/cogs/bot.py
@@ -247,12 +247,12 @@ class Bot:
"""
parse_codeblock = (
- (
- msg.channel.id in self.channel_cooldowns
- or msg.channel.id in self.channel_whitelist
- )
- and not msg.author.bot
- and len(msg.content.splitlines()) > 3
+ (
+ msg.channel.id in self.channel_cooldowns
+ or msg.channel.id in self.channel_whitelist
+ )
+ and not msg.author.bot
+ and len(msg.content.splitlines()) > 3
)
if parse_codeblock: