Commit Graph

8 Commits (b5f49d9563e3daab9fdc24af3e2e27edcc42d956)

Author SHA1 Message Date
Habetdin 7c7d61f61e
Fix special characters escaping
To escape characters '_', '*', '`', '[' outside of an entity, prepend the characters '\' before them.
4 years ago
Mike Beattie fb079f9e50
Update telegram.sh
(fix shellcheck failure)
4 years ago
Mike Beattie 39b09f8f87 Dump _post() call output to /dev/null
Signed-off-by: Mike Beattie <mike@ethernal.org>
4 years ago
Mike Beattie 53d26e5c5c Add debug output of $_data variable to aid diagnosis
Signed-off-by: Mike Beattie <mike@ethernal.org>
4 years ago
Mike Beattie e21f3e6c73 Escape asterisks in notification content
This messes with markdown parsing

Signed-off-by: Mike Beattie <mike@ethernal.org>
4 years ago
Mike Beattie 584cc6de2e
Avoid usage of sed -e 4 years ago
Mike Beattie 2e5a6e21cf
Correct shebang 4 years ago
Mike Beattie 10de4b6b7b
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.
4 years ago