- Create a new application with Discord
- Select "Bot" from the settings side bar on the left
- Name your bot 🤖
- Copy the Token provided by Discord for your bot (this is sensitive and should be kept secret)
- Create a file named
.env
at the top level of the project, this file must include all the required environment variablesDISCORD_BOT_TOKEN
is the token copied at step 4- You can see
.env.example
for the expected environment variables.- If any of the required ones are missing, you'll run into this error "Couldn't launch bot. Not configured properly"
- Invite the bot to your Discord channel (Instructions)
- From the top level of the project run
docker-compose up
(ordocker-compose up --build
to also re-build images) - Once the bot is ready you'll see its status as Online in your channel. That means it's up and ready to start receiving commands 🎉