From 001fc87c209c8d1b9f31f0fe87b62f39376d321a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl?= Date: Sun, 11 Jun 2017 14:06:51 -0400 Subject: [PATCH] F**k you --- bot.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bot.py b/bot.py index 399bfde..3371cfc 100644 --- a/bot.py +++ b/bot.py @@ -89,9 +89,6 @@ async def on_message(message): if re.match(r'^<@(\w+)>$', message.content): await bot.send_message(message.channel, message.author.mention + " > Tu voulais lui dire quoi ? Tu le mentionne sans message !") - if re.match(r"[A-Z]", message.content) and not message.author.bot and len(message.content) > 5: - await bot.send_message(message.channel, message.author.mention + " > Evite les messages en majuscule, ce n'est pas la peine de crier !") - await bot.process_commands(message) @bot.command(pass_context=True, hidden=True)