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.
|
2 years ago | |
---|---|---|
.circleci | 2 years ago | |
cron | 2 years ago | |
discord | 2 years ago | |
group | 2 years ago | |
message | 2 years ago | |
models | 2 years ago | |
observation | 2 years ago | |
screenshots | 2 years ago | |
server | 2 years ago | |
utils | 2 years ago | |
.gitignore | 2 years ago | |
Dockerfile | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
dev.sh | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
main.go | 2 years ago |
README.md
TWHelp DC Bot
A 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:
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