Original URL (with bug tracking etc.): https://sr.ht/~michalr/hswro-alarm-bot/
Michał Rudowicz 1e89fea274 | ||
---|---|---|
.build.yml | ||
.gitignore | ||
.pre-commit-config.yaml | ||
COPYING | ||
README.md | ||
filters.go | ||
filters_test.go | ||
go.mod | ||
go.sum | ||
main.go | ||
sender_worker.go | ||
sender_worker_test.go |
README.md
Hackerspace Wroclaw Alarm Bot
Warning: this is a proof of concept, don't rely on it
I didn't even test it yet so no idea if it works
Usage
$ TELEGRAM_APITOKEN=YOUR_API_TOKEN ./alarm_bot --satel_addr=127.0.0.1 --satel_port=31337 --tg_chat_id=YOUR_CHAT_ID_FROM_BOTFATHER
Debugging
Set the OMIT_TG
environment variable to, well, omit sending anything over to Telegram and just see the logs instead.