aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/bot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py
index a953f0f97..4c10faa0c 100644
--- a/bot/cogs/bot.py
+++ b/bot/cogs/bot.py
@@ -75,7 +75,7 @@ class Bot:
async def on_message(self, msg: Message):
if msg.channel.id in self.previous_format_times:
- if time.time()-self.previous_format_times[msg.channel.id] > 300:
+ if time.time()-self.previous_format_times[msg.channel.id] > 300 or msg.channel.id == DEVTEST_CHANNEL:
if msg.content.count("\n") >= 3:
try:
tree = ast.parse(msg.content)
@@ -87,7 +87,7 @@ class Bot:
# Multiple lines of single words could be interpreted as expressions.
# This check is to avoid all nodes being parsed as expressions.
# (e.g. words over multiple lines)
- howto = ("Please use syntax highlighted blocks, as it makes"
+ howto = ("Please use syntax highlighted blocks, as it makes "
"your code more legible for other users.\n"
"\nTo do this, you should input your content like this:\n"
"\n\`\`\`python\n"