Compare commits

...

4 Commits

Author SHA1 Message Date
Candlio e3742a676f
Merge 5f2c313562 into fd76c067b4 2026-06-17 06:41:35 +00:00
Marsisus fd76c067b4
Refined readme 2026-05-19 15:11:52 +02: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
3 changed files with 12 additions and 5 deletions

View File

@ -6,6 +6,7 @@ from parse_colles_s2 import create_colloscope_s2, next_colle
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
@ -64,7 +65,11 @@ async def on_message(message):
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:]}")

View File

@ -1,15 +1,15 @@
# Staticky # Discord bot for MP2Is
## Description ## Description
The Discord Bot MPII is a Python-based bot that provides various functionalities for managing the MP2I Discord server. Staticky is a Python-based bot that provides various functionalities for managing the MP2I Discord server.
## Installation ## Installation
To install and run the Discord Bot MPII, follow these steps: To install and runStaticky, follow these steps:
1. Clone the repository: `git clone https://github.com/fallmarsisus/staticky.git` 1. Clone the repository: `git clone https://github.com/fallmarsisus/staticky.git`
2. Install the required dependencies: `pip install -r requirements.txt` // Pas tout de suite mdr 2. Install the required dependencies: `pip install -r requirements.txt`
3. Run the bot: `botdiscord.py` 3. Run the bot: `botdiscord.py`
## Commands ## Commands
@ -19,6 +19,8 @@ Once the bot is running, you can use various commands to interact with it. Here
- `/help`: Display the list of available commands. - `/help`: Display the list of available commands.
- `/colloscope [group] {timezone}`: Get a .ics file with your orals. - `/colloscope [group] {timezone}`: Get a .ics file with your orals.
There will be more soon
## License ## License

BIN
staticky-main.zip Normal file

Binary file not shown.