The joy of Telegram bots
I inherited a simple Telegram bot from someone. The ease of programming these small things really makes programming fun again.
You don't need any more than plain python and the requests
module to run it.
The SonyDevWorld bot
- trawls the Latest updates and Open source archives pages from developer.sony.com
- and posts found items
- to the SMDW_downloads Telegram channel.
While working on the bot, I familiarized myself once again with deploying small isolated services with systemd
and it's --user
features. Pretty neat.
I also wrote a small ansible role to deploy the bot onto a server.