You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Go to file
Dawid Wysokiński 31fa2366a1
Merge pull request #58 from tribalwarshelp/renovate/golang-1.x
chore(deps): update dependency golang to v1.17.8
1 year ago
.github/workflows replace circleci with github workflows 2 years ago
cron rename message.go -> ennoblement_msg, cleanup in ennoblement_msg.go 2 years ago
discord qf 2 years ago
group rename the models package -> model, return normal types instead of interfaces (repositories) 2 years ago
message qf 2 years ago
model rename the models package -> model, return normal types instead of interfaces (repositories) 2 years ago
observation rename the models package -> model, return normal types instead of interfaces (repositories) 2 years ago
screenshots replace notifcations.png with notifications2.png 2 years ago
server rename the models package -> model, return normal types instead of interfaces (repositories) 2 years ago
util/twutil rename the models package -> model, return normal types instead of interfaces (repositories) 2 years ago
.gitignore bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk, update .gitignore and logrus configuration 2 years ago
Dockerfile chore(deps): update dependency golang to v1.17.8 1 year ago
LICENSE update readme.md and Dockerfile, add LICENSE 3 years ago
README.md chore: update README.md 2 years ago
go.mod fix(deps): update github.com/tribalwarshelp/golang-sdk commit hash to ac5a0c2 1 year ago
go.sum run go mod tidy 1 year ago
main.go fix: undefined: gopglogrusquerylogger 2 years ago
renovate.json update renovate.json 2 years ago

README.md

tribalwarshelp.com 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

Prerequisites

  1. Golang
  2. PostgreSQL database
  3. Configured API

Installation

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
  1. Clone this repo.
git clone git@github.com:tribalwarshelp/dcbot.git
  1. Open the folder with this project in a terminal.
  2. Set the required env variables directly in your system or create .env.local file.
  3. Run the app.
go run main.go

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Dawid Wysokiński - contact@dwysokinski.me