Commit graph

2 commits

Author SHA1 Message Date
2abc08d582 Allow asking for the current public IP
All checks were successful
continuous-integration/drone/push Build is passing
Ref #5

This commit adds the /getIP telegram command that allows asking for the
current public IP that the bot has stored.

As it is just a working version and the telegram API is not yet
complete, this command is not yet really tested. I need to provide a
more stable version of my Telegram API beforehand because as of now it's
just a mess really, but this will do for now.
2023-01-29 18:50:43 +01:00
3a1bb20a1f Add monitoring of the current public IP
All checks were successful
continuous-integration/drone/push Build is passing
Ref #4

This commit adds an active monitoring of the current public IP. If a
change is detected, then a message is sent to the given Telegram
channel. Add a few tests for the main monitoring logic.
2023-01-28 14:29:39 +01:00