no reaction from annoucements channel

This commit is contained in:
Simon Lancelin 2024-11-23 22:37:18 +01:00
parent a5c891d155
commit 2e77d0eb9b
1 changed files with 3 additions and 0 deletions

View File

@ -61,12 +61,15 @@ async def day_autocomplete(
async def on_message(message):
if message.author == bot.user:
return
if "quoi" in message.content[-10:].lower():
await message.channel.send(f"quoicoubeh {message.author.mention} !")
if "j'aime" in message.content.lower()[:6]:
await message.author.edit(nick=f"{message.content[6:]}")
for i in range(len(message.content.split())):
if message.channel.id == 1292943453423931493:
return
if message.content.lower().split()[i] in exclusions:
continue
if len(message.content.split()[i]) < 4: