Compare commits

...

3 Commits

Author SHA1 Message Date
Candlio a7e475a603
Merge 5f2c313562 into c1ce0b8d08 2024-11-20 01:01:14 +00:00
Candlio 5f2c313562
Add files via upload 2024-10-28 23:14:18 +01:00
Candlio ee1976e3f3
Add files via upload 2024-10-28 23:10:10 +01:00
2 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,7 @@ from discord import app_commands
from parse_colles import create_colloscope from parse_colles import create_colloscope
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
@ -34,7 +35,11 @@ async def on_message(message):
if message.author == bot.user: if message.author == bot.user:
return return
if "quoi" in message.content[-10:].lower(): if "quoi" in message.content[-10:].lower():
await message.channel.send(f"quoicoubeh {message.author.mention} !") r = rng.randint(0,1000)
if r == 1 :
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:]}')

BIN
staticky-main.zip Normal file

Binary file not shown.