MrPickles / dtl

https://dashboard.heroku.com/apps/dtl-bot
1 stars 2 forks source link

League Bot

This is a Discord bot that mercilessly pings people when playing League of Legends.

Running with Docker

There's a Docker image for this bot: https://hub.docker.com/repository/docker/liuandrewk/dtl

To run it, you'll need a BOT_TOKEN specified as an environment variable.

docker run -it -e BOT_TOKEN=${BOT_TOKEN} docker.io/liuandrewk/dtl

Developing Locally

  1. Install Poetry.
  2. Install dependencies. poetry install
  3. Put secrets in .env.
  4. Run the server. poetry run bot
  5. If you want to make commits, please install the precommit hooks. poetry run pre-commit install

Developing with Docker

Below are the commands to build and push the docker image:

docker build -t liuandrewk/dtl .
docker push liuandrewk/dtl