Compare commits
3 Commits
a10112940b
...
2b440ece91
Author | SHA1 | Date |
---|---|---|
|
2b440ece91 | |
|
5f2c313562 | |
|
ee1976e3f3 |
5
main.py
5
main.py
|
@ -5,6 +5,7 @@ from parse_colles import create_colloscope
|
||||||
from parse_salles import create_edt, parse_edt, create_image
|
from parse_salles import create_edt, parse_edt, create_image
|
||||||
import os
|
import os
|
||||||
from dotenv import load_dotenv, dotenv_values
|
from dotenv import load_dotenv, dotenv_values
|
||||||
|
import random as rng
|
||||||
|
|
||||||
|
|
||||||
# Créer une instance du bot
|
# Créer une instance du bot
|
||||||
|
@ -63,7 +64,11 @@ async def on_message(message):
|
||||||
return
|
return
|
||||||
|
|
||||||
if "quoi" in message.content[-10:].lower():
|
if "quoi" in message.content[-10:].lower():
|
||||||
|
r = rng.randint(0,1000)
|
||||||
|
if r == 1 :
|
||||||
await message.channel.send(f"quoicoubeh {message.author.mention} !")
|
await message.channel.send(f"quoicoubeh {message.author.mention} !")
|
||||||
|
else :
|
||||||
|
await message.channel.send(f"FEUUR {message.author.mention} !!!")
|
||||||
if "j'aime" in message.content.lower()[:6]:
|
if "j'aime" in message.content.lower()[:6]:
|
||||||
await message.author.edit(nick=f"{message.content[6:]}")
|
await message.author.edit(nick=f"{message.content[6:]}")
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue