Using Docker - ArthurBoddaert/Discord-Bot GitHub Wiki

  1. Clone the project and go into the folder
git clone https://github.com/ArthurBoddaert/Discord-Bot
cd Discord-Bot
  1. Open the config.json file and fill it with your informations
{
	"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. Construct the docker image
docker build -t mybot .

mybot is the name of the docker image, you can change it if you wish.

  1. Run the docker image
docker run -d mybot .