fixing "hello world" readme to match the actual project

This commit is contained in:
2025-07-01 00:00:16 -04:00
parent 75c2a56445
commit a59242dbf4

View File

@@ -1,44 +1,42 @@
# Discord Bot Hello # Discord Bot Time Converter
Ce projet est un bot Discord simple qui répond "Hello World" lorsque l'utilisateur dit "Hello". Simple bot that reads time posted in a channel and converts it to a timestamp in the user's timezone.
## Prérequis ## Prerequisites
Avant de commencer, assurez-vous d'avoir installé Python et pip sur votre machine. Before getting started, make sure you have Python and pip installed on your machine.
## Installation ## Installation
1. Clonez le dépôt ou téléchargez les fichiers du projet. 1. Clone the repository or download the project files.
2. Naviguez dans le répertoire du projet. 2. Install the required dependencies:
```bash
cd discord-bot-hello
```
3. Installez les dépendances nécessaires :
```bash ```bash
pip install -r requirements.txt pip install -r requirements.txt
``` ```
4. Créez un fichier `.env` à la racine du projet et ajoutez votre token Discord : 3. Create a `.env` file at the project root and add your Discord token:
```text ```text
DISCORD_TOKEN=your_token_here DISCORD_TOKEN=your_token_here
``` ```
## Exécution ## Running
Pour exécuter le bot, utilisez la commande suivante :
```bash ```bash
python src/bot.py python src/bot.py
``` ```
## Utilisation To run the bot, use the following command:
Une fois le bot en ligne, il répondra "Hello World" chaque fois qu'un utilisateur enverra "Hello" dans un canal où le bot a accès. ```bash
python src/bot.py
```
## Aide ## Usage
Pour toute question ou problème, n'hésitez pas à ouvrir une issue dans le dépôt. Once the bot is online, it will respond "Hello World" every time a user sends "Hello" in a channel where the bot has access.
## Help
For any questions or issues, feel free to open an issue in the repository.