This repository has been archived on 2022-10-02. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Dawid Wysokiński ad99e34658 update pl/en translations 2021-05-06 15:54:44 +02:00
.circleci update the docker repository in .circleci/config.yml 2021-02-06 11:10:11 +01:00
cron rename the utils package 2021-05-06 15:25:09 +02:00
discord update pl/en translations 2021-05-06 15:54:44 +02:00
group bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk 2021-05-06 14:42:37 +02:00
message update pl/en translations 2021-05-06 15:54:44 +02:00
models rename one of the model methods (ApplyWithPrefix -> ApplyWithAlias) 2021-05-06 15:28:17 +02:00
observation bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk 2021-05-06 14:42:37 +02:00
screenshots replace notifcations.png with notifications2.png 2021-01-08 20:21:46 +01:00
server bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk 2021-05-06 14:42:37 +02:00
tw/twutil rename the utils package 2021-05-06 15:25:09 +02:00
.gitignore bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk, update .gitignore and logrus configuration 2021-04-23 21:15:22 +02:00
Dockerfile bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk 2021-05-06 14:42:37 +02:00
LICENSE update readme.md and Dockerfile, add LICENSE 2020-10-25 14:57:48 +01:00
README.md rename the utils package 2021-05-06 15:25:09 +02:00
go.mod delete dev.sh and helpers from the models package, use gopgutil to build conditions in filters 2021-05-06 14:55:51 +02:00
go.sum bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk 2021-05-06 14:42:37 +02:00
main.go delete dev.sh and helpers from the models package, use gopgutil to build conditions in filters 2021-05-06 14:55:51 +02:00

README.md

TWHelp DC Bot

A Discord bot for the online game Tribal Wars.

Features:

  1. Coords translation

    Screenshot

  2. Live conquer notifications

    Screenshot

  3. List of tribe members ordered by OD/ODA/ODD/ODS/points

  4. Translated into 4 languages: Polish, Czech, English, Dutch

You can check all available commands here.

Development

Required ENV variables:

DB_USER=your_pgdb_user
DB_NAME=your_pgdb_name
DB_PORT=your_pgdb_port
DB_HOST=your_pgdb_host
DB_PASSWORD=your_pgdb_password
API_URL=your_api_url
BOT_TOKEN=your_bot_token
LOG_DB_QUERIES=true|false

Prerequisites

  1. Golang
  2. PostgreSQL database
  3. Configured API

Installing

  1. Clone this repo.
  2. Navigate to the directory where you have cloned this repo.
  3. Set the required env variables directly in your system or create .env.development file.
  4. go run main.go