Using Python - ArthurBoddaert/Discord-Bot GitHub Wiki

You can find information about virtual environment here

  1. Clone the project and go into the folder
git clone https://github.com/ArthurBoddaert/Discord-Bot
cd Discord-Bot
  1. In the previously cloned project, create a virtual environment
python3 -m venv ./my_virtual_environment
  1. Then activate it
source ./my_virtual_environment/bin/activate
  1. 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
  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

  1. Run bot.py
python bot.py