Add publig IP getter #9

Merged
faercol merged 2 commits from 3-get-public-ip into main 2023-01-27 17:07:48 +00:00

2 commits

Author SHA1 Message Date
a4ca608937 Remove previous test methods
All checks were successful
continuous-integration/drone/push Build is passing
There were a few tests that used to be here only to run a mock pipeline.
Since we now have testable methods, this is not useful anymore and this
commit removes them
2023-01-27 18:01:37 +01:00
3948c8e7b4 Add publig IP getter
Ref #3

This commit uses a GET query to ifconfig.me in order to get the current
public IP. It also modifies the initialization message to send the
current public IP to the Telegram channel instead of a simple message.
2023-01-27 18:01:37 +01:00