Telegram bot which fetches Bot posts top submissions from a subreddit. NewsBot is used to demo a short, simple Python project in my book, Practical Docker With Python.
Refer to the book repo for other exercises using this code.
Install the requirements with pip
pip3 install -r requirements.txt
Start the bot
NBT_ACCESS_TOKEN=<token> python newsbot.py
where <token>
is the Telegram Bot API token