Skip to content

DiscordBot Installation Guide for LightDiffusion

Welcome to the Discord-Bot installation guide for LightDiffusion. Follow the steps below to set up the Discord-Bot on your system.

Prerequisites

Before you begin, ensure you have the following installed:

  • Python 3.10.6
  • Git
  • py-cord library
  • A Discord bot token (stored in a .env file)

Installation Steps

1. Clone the Repository

Open your terminal and run the following command to clone the repository inside the LightDiffusion directory:

cd /path/to/LightDiffusion
git clone https://github.com/Aatrick/Boubou.git
cd Boubou

2. Install Dependencies

With the LightDiffusion venv activated, install the required Python dependencies using pip:

pip install -r requirements.txt
pip install py-cord

3. Set Up the Environment Variables

Create a .env file in the Boubou directory and add your Discord bot token:

TOKEN = your_discord_bot_token_here

4. Run the Bot

Execute the following command to start the Discord bot:

python bot.py

Boubou

Tips and Tricks

[!TIP] - Ensure your Discord bot has the necessary permissions to read and send messages in your server. - For best performance, run the bot on a server with a stable internet connection. - Refer to the Discord Developer Portal for more information on creating and managing your Discord bot.

Troubleshooting

If you encounter any issues during installation or usage, please refer to the FAQ or open an issue on the GitHub repository.

Wish you good generations!