The 'BotAToutFer', the Discord bot that does (or did) everything (even the coffee).
Clone this repository in your personal directory with the command:
git clone https://github.com/Calibanda/BotAToutFer.git
On Linux or MacOS
python3 -m venv .venv
source .venv/bin/activate
.venv/bin/python3 -m pip install --upgrade pip
On Windows
python -m venv .venv
.venv\Scripts\activate.bat
python -m pip install --upgrade pip
For more information about virtual environments see the official documentation.
Follow the installation of the Pycord library on https://github.com/Pycord-Development/pycord
Install needed packages with:
pip install -r requirements.txt
List of direct dependencies:
- python-dotenv
- py-cord
- yt-dlp
At the source of the directory, create a file named ".env". In this file, enter the private information needed by the bot:
# .env
DISCORD_TOKEN= #Enter here the token of your Discord bot
OWNER_IDS= #Enter here the IDS of the bot owners (separated by a semicolon)
DEBUG_GUILDS= #Enter here the IDS of the debug guilds if any (separated by a semicolon)
GM_ROLES= #Enter here the IDS of the roles authorized to create role manager messages (separated by a semicolon)
Execute the following command to start the bot:
python main.py