Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 589 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 589 Bytes

Game Choice

A small discord bot that selects a random game for us to play

Requirements

There is only one environment variable required

  • DISCORD_TOKEN: str, used to authenticate the bot with discord

How to use

  1. Create a discord bot: https://discord.com/developers/
  2. under the bot section grab the discord token
  3. build the docker image
sudo docker build -t discord_bot .
  1. Run the docker image passing in the discord token from your created website
sudo docker run -d --restart=always --name discord_bot -e DISCORD_TOKEN="TOKEN HERE" discord_bot