7 Commits

Author SHA1 Message Date
Mike Beattie
595196cdbe Update telegram.sh
(fix shellcheck failure)
2021-08-10 09:25:09 +02:00
Mike Beattie
cfec287272 Dump _post() call output to /dev/null
Signed-off-by: Mike Beattie <mike@ethernal.org>
2021-08-10 09:25:09 +02:00
Mike Beattie
bc455f2b54 Add debug output of $_data variable to aid diagnosis
Signed-off-by: Mike Beattie <mike@ethernal.org>
2021-08-10 09:25:09 +02:00
Mike Beattie
bae08da432 Escape asterisks in notification content
This messes with markdown parsing

Signed-off-by: Mike Beattie <mike@ethernal.org>
2021-08-10 09:25:09 +02:00
Mike Beattie
6bdbc16394 Avoid usage of sed -e 2021-08-10 09:25:08 +02:00
Mike Beattie
f6f9f74a14 Correct shebang 2021-08-10 09:25:08 +02:00
Mike Beattie
9cccf5e7cf Add Telegram notification script
Requires:
- API Token for a bot created with the Telegram Bot Father.
- A Chat ID for a user/group that the bot has permission to post to.
2021-08-10 09:25:08 +02:00