add readme.md
This commit is contained in:
parent
e2fea6bacf
commit
6979fe59c7
|
@ -39,7 +39,7 @@ async def on_message(message):
|
||||||
guild=discord.Object(id=1292935532472565852)
|
guild=discord.Object(id=1292935532472565852)
|
||||||
)
|
)
|
||||||
@app_commands.describe(group = "Votre Groupe de Colles. (1-16)")
|
@app_commands.describe(group = "Votre Groupe de Colles. (1-16)")
|
||||||
@app_commands.describe(timezone = "Le fuseau Horaire (laisser vide si vous ne savez pas), par défaut: Europe/Paris, si il y a un décalage, essayer UTC")
|
@app_commands.describe(timezone = "Le fuseau Horaire UTC+n (laisser vide si vous ne savez pas), par défaut: UTC+2, si il y a un décalage, essayer UTC")
|
||||||
async def recup_colles(interaction:discord.Interaction, group:str, timezone:str = "Europe/Paris"):
|
async def recup_colles(interaction:discord.Interaction, group:str, timezone:str = "Europe/Paris"):
|
||||||
if 0<int(group)<17:
|
if 0<int(group)<17:
|
||||||
create_colloscope(int(group), timezone)
|
create_colloscope(int(group), timezone)
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
# Staticky
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
The Discord Bot MPII is a Python-based bot that provides various functionalities for managing the MP2I Discord server.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
To install and run the Discord Bot MPII, follow these steps:
|
||||||
|
|
||||||
|
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
|
||||||
|
3. Run the bot: `botdiscord.py`
|
||||||
|
|
||||||
|
## Commands
|
||||||
|
|
||||||
|
Once the bot is running, you can use various commands to interact with it. Here are some examples:
|
||||||
|
|
||||||
|
- `!help`: Display the list of available commands.
|
||||||
|
- `!ping`: Check the bot's latency.
|
||||||
|
- `!kick @user`: Kick a user from the server.
|
||||||
|
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This project is licensed under the MIT License. See the `LICENSE` file for more information.
|
Loading…
Reference in New Issue