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.
chore(deps): update dependency golang to v1.17.8 |
1 year ago | |
---|---|---|
.github/workflows | 2 years ago | |
cron | 2 years ago | |
discord | 2 years ago | |
group | 2 years ago | |
message | 2 years ago | |
model | 2 years ago | |
observation | 2 years ago | |
screenshots | 2 years ago | |
server | 2 years ago | |
util/twutil | 2 years ago | |
.gitignore | 2 years ago | |
Dockerfile | 1 year ago | |
LICENSE | 3 years ago | |
README.md | 2 years ago | |
go.mod | 1 year ago | |
go.sum | 1 year ago | |
main.go | 2 years ago | |
renovate.json | 2 years ago |
README.md
tribalwarshelp.com DC Bot
A Discord bot for the online game Tribal Wars.
Features:
-
Coords translation
-
Live conquer notifications
-
List of tribe members ordered by OD/ODA/ODD/ODS/points
-
Translated into 4 languages: Polish, Czech, English, Dutch
You can check all available commands here.
Development
Prerequisites
- Golang
- PostgreSQL database
- 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
- Clone this repo.
git clone git@github.com:tribalwarshelp/dcbot.git
- Open the folder with this project in a terminal.
- Set the required env variables directly in your system or create .env.local file.
- 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