From 5f2c313562e217778167a69e94a590a894e4cb7d Mon Sep 17 00:00:00 2001 From: Candlio <126250530+Candlio@users.noreply.github.com> Date: Mon, 28 Oct 2024 23:14:18 +0100 Subject: [PATCH] Add files via upload --- main.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 54cc054..ab18275 100644 --- a/main.py +++ b/main.py @@ -4,6 +4,7 @@ from discord import app_commands from parse_colles import create_colloscope import os from dotenv import load_dotenv, dotenv_values +import random as rng # Créer une instance du bot @@ -32,7 +33,11 @@ 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} !") + 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]: await message.author.edit(nick=f'{message.content[6:]}')