Using Python - ArthurBoddaert/Discord-Bot GitHub Wiki
You can find information about virtual environment here
- Clone the project and go into the folder
git clone https://github.com/ArthurBoddaert/Discord-Bot
cd Discord-Bot
- In the previously cloned project, create a virtual environment
python3 -m venv ./my_virtual_environment
- Then activate it
source ./my_virtual_environment/bin/activate
- Now that the virtual environment is activated, install the dependencies
pip install discord.py==1.3.3
pip install pandas==1.0.4
pip install matplotlib==3.2.1
- Open the config.json file and fill it with your information
{
"prefix": "YOUR BOT PREFIX",
"token": "YOUR DISCORD TOKEN",
}
The prefix is the succession of characters which will be used to call the commands The token is your discord bot token, which can be found on https://discord.com/developers after registering an app
- Run bot.py
python bot.py