Skip to content

A discord bot that fetches the server infos of known whitelisted Teeworlds 0.7 servers. The requests are being sent just in time in order to not stress those servers periodically with payloads.

Notifications You must be signed in to change notification settings

jxsl13/TeeworldsDiscordBotGo

Repository files navigation

TeeworldsDiscordBotGo

A discord bot that caches current teeworlds server data in order to query for online players and stuff.

Install dependencies & build

go get -d
go build

Create .env file

touch .env

Add your discord application token to the .env file

DISCORD_TOKEN=<SECRET TOKEN>
DISCORD_ADMIN="jxsl13#5272"
DEFAULT_GAMETYPE_FILTER=zCatch

# how long to wait before saying that the server is not reachable
SERVER_RESPONSE_TIMEOUT_MS=500

Run the bot (the text file must exist, but can be empty)

./TeeworldsDiscordBotGo -f text_file_with_ips.txt

Show available commands

!help

About

A discord bot that fetches the server infos of known whitelisted Teeworlds 0.7 servers. The requests are being sent just in time in order to not stress those servers periodically with payloads.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages