1
0
Fork 0
Original URL (with bug tracking etc.): https://sr.ht/~michalr/hswro-alarm-bot/
Go to file
Michał Rudowicz 7f3b5a4abe Little reorganizing 2024-02-10 07:51:36 +01:00
.build.yml Initial commit 2024-02-08 19:23:46 +01:00
.gitignore Add pre-commit 2024-02-09 23:32:00 +01:00
.pre-commit-config.yaml Add pre-commit 2024-02-09 23:32:00 +01:00
COPYING Initial commit 2024-02-08 19:23:46 +01:00
README.md Message throttling, OMIT_TG 2024-02-09 23:32:32 +01:00
go.mod Initial commit 2024-02-08 19:23:46 +01:00
go.sum Initial commit 2024-02-08 19:23:46 +01:00
main.go Little reorganizing 2024-02-10 07:51:36 +01:00

README.md

Hackerspace Wroclaw Alarm Bot

builds.sr.ht status

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.