no reaction from annoucements channel
This commit is contained in:
parent
a5c891d155
commit
2e77d0eb9b
3
main.py
3
main.py
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue