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 2a1be4856b change default message about gained/lost village 2020-10-25 14:57:48 +01:00
cron change default message about gained/lost village 2020-10-25 14:57:48 +01:00
discord fix coordsTranslation formatting 2020-10-25 14:57:48 +01:00
group the cron messages are fully translatable 2020-10-25 14:57:48 +01:00
message add coords translator feature 2020-10-25 14:57:48 +01:00
models add coords translator feature 2020-10-25 14:57:48 +01:00
observation add group system 2020-10-25 14:57:48 +01:00
server add group system 2020-10-25 14:57:48 +01:00
utils add coords translator feature 2020-10-25 14:57:48 +01:00
.gitignore add group system 2020-10-25 14:57:48 +01:00
Dockerfile update Dockerfile 2020-10-25 14:57:48 +01:00
LICENSE update readme.md and Dockerfile, add LICENSE 2020-10-25 14:57:48 +01:00
README.md correct typo 2020-10-25 14:57:48 +01:00
dev.sh add dev.sh, code refactor, add village continent to its name 2020-10-25 14:57:48 +01:00
go.mod update Dockerfile 2020-10-25 14:57:48 +01:00
go.sum update Dockerfile 2020-10-25 14:57:48 +01:00
main.go add initial i18n configuration 2020-10-25 14:57:48 +01:00

README.md

TWHelp DC Bot

Features:

  1. Coords translation
  2. Near real-time notifications about conquers
  3. Tribe members ordered by OD/ODA/ODD/ODS/points

Development

Required env variables to run this bot (you can set them directly in your system or create .env.development file):

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

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