Using Docker - ArthurBoddaert/Discord-Bot GitHub Wiki
- Clone the project and go into the folder
git clone https://github.com/ArthurBoddaert/Discord-Bot
cd Discord-Bot
- 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
- Construct the docker image
docker build -t mybot .
mybot is the name of the docker image, you can change it if you wish.
- Run the docker image
docker run -d mybot .