The newsBot is a Telegram chatbot, it will post the StarBugs weekly and recommended article to the subscribed Telegram users
Just say /subscribe to starbugs_weekly_bot!
-
Upsert/Delete the subscribed information into/from Redis
-
Check whether GitHub repository update or not
-
If the GitHub repository has new update, generate jobs as Celery task client and put that into Celery broker (Redis)
-
Publish Telegram message as Celery worker from Celery broker (Redis)
When one of below conditions meets, the bot will send the message to Telegram channel or user
When the recommended article PR merge into GitHub repository master branch, the bot will send the recommended articles to Telegram channel or user
When the weekly article publish, the bot delivery the weekly article to telegram article
When user use the Telegram command /weekly or /recommend, the bot will send the latest weekly article URL to Telegram channel or user
Below command providing the method for user to subscribe and get the latest article from StarBugs
The /help Telegram command shows what Telegram command can be used to inteact with newsBot
The /subscribe Telegram command will upsert the article subscription information into newsBot's database
The /unsubscribe Telegram command will delete the article subscription information from newsBot's database
The /weekly Telegram command let the newsBot to send the latest weekly articles to Telegram channel or user
The /recommend Telegram command let the newsBot to send the latest recommended articles to Telegram channel or user

