F**k you
This commit is contained in:
parent
4fd8826d22
commit
001fc87c20
1 changed files with 0 additions and 3 deletions
3
bot.py
3
bot.py
|
@ -89,9 +89,6 @@ async def on_message(message):
|
||||||
if re.match(r'^<@(\w+)>$', message.content):
|
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 !")
|
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)
|
await bot.process_commands(message)
|
||||||
|
|
||||||
@bot.command(pass_context=True, hidden=True)
|
@bot.command(pass_context=True, hidden=True)
|
||||||
|
|
Loading…
Reference in a new issue