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 50e132a591
Merge pull request #22 from tribalwarshelp/renovate/github.com-bwmarrin-discordgo-0.x
fix(deps): update module github.com/bwmarrin/discordgo to v0.23.2
2021-07-18 12:54:59 +02:00
.circleci feat: add a new workflow to .circleci/config.yml triggered by pushing a new git tag 2021-07-08 15:37:00 +02:00
cron rename message.go -> ennoblement_msg, cleanup in ennoblement_msg.go 2021-07-18 12:08:46 +02:00
discord replace UpdateStatus with UpdateGameStatus 2021-07-18 12:54:41 +02:00
group rename the models package -> model, return normal types instead of interfaces (repositories) 2021-07-17 17:22:36 +02:00
message delete helpers.go from the message package 2021-07-18 10:17:45 +02:00
model rename the models package -> model, return normal types instead of interfaces (repositories) 2021-07-17 17:22:36 +02:00
observation rename the models package -> model, return normal types instead of interfaces (repositories) 2021-07-17 17:22:36 +02:00
screenshots replace notifcations.png with notifications2.png 2021-01-08 20:21:46 +01:00
server rename the models package -> model, return normal types instead of interfaces (repositories) 2021-07-17 17:22:36 +02:00
util/twutil rename the models package -> model, return normal types instead of interfaces (repositories) 2021-07-17 17:22:36 +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 chore: update README.md 2021-06-19 17:02:54 +02:00
go.mod Merge branch 'master' into renovate/github.com-bwmarrin-discordgo-0.x 2021-07-18 12:47:47 +02:00
go.sum Merge branch 'master' into renovate/github.com-bwmarrin-discordgo-0.x 2021-07-18 12:47:47 +02:00
main.go the discord package - commands shouldn't be exported 2021-07-18 12:21:02 +02:00
renovate.json update renovate.json 2021-07-04 17:58:24 +02:00

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