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.
Dawid Wysokiński
ed3eabc64d
rename file worker.go -> handler.go, update tribalwarshelp/shared package, small refactor
|
2020-10-25 14:58:04 +01:00 |
cron
|
rename file worker.go -> handler.go, update tribalwarshelp/shared package, small refactor
|
2020-10-25 14:58:04 +01:00 |
discord
|
rename file worker.go -> handler.go, update tribalwarshelp/shared package, small refactor
|
2020-10-25 14:58:04 +01:00 |
group
|
update go-pg version
|
2020-10-25 14:57:48 +01:00 |
message
|
update go-pg version
|
2020-10-25 14:57:48 +01:00 |
models
|
update go-pg version
|
2020-10-25 14:57:48 +01:00 |
observation
|
update go-pg version
|
2020-10-25 14:57:48 +01:00 |
screenshots
|
add screenshots, update readme.md
|
2020-10-25 14:57:48 +01:00 |
server
|
update go-pg version
|
2020-10-25 14:57:48 +01:00 |
utils
|
rename file worker.go -> handler.go, update tribalwarshelp/shared package, small refactor
|
2020-10-25 14:58:04 +01:00 |
.gitignore
|
add group system
|
2020-10-25 14:57:48 +01:00 |
Dockerfile
|
update Dockerfile and README.md
|
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
|
update Dockerfile and README.md
|
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
|
rename file worker.go -> handler.go, update tribalwarshelp/shared package, small refactor
|
2020-10-25 14:58:04 +01:00 |
go.sum
|
rename file worker.go -> handler.go, update tribalwarshelp/shared package, small refactor
|
2020-10-25 14:58:04 +01:00 |
main.go
|
log system improved
|
2020-10-25 14:57:48 +01:00 |
TWHelp DC Bot
Discord bot for the online game Tribal Wars.
Features:
-
Coords translation
-
Near real-time notifications about conquers
-
Tribe members ordered by OD/ODA/ODD/ODS/points
-
Translated into 3 languages: Polish, English, Dutch
You can check all available commands here.
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
LOG_DB_QUERIES=true|false
Prerequisites
- Golang
- PostgreSQL database
- Configured API
Installing
- Clone this repo.
- Navigate to the directory where you have cloned this repo.
- Set the required env variables directly in your system or create .env.development file.
- go run main.go