Personal Steemit Notification Bot - update #1

What is the project about?

This project helps people build their own telegram bots.

This contribution is made to passionbull/steemit-alarm-posting. If you would like to find more info - I recommend reading this post first.

PR

https://github.com/passionbull/steemit-alarm-posting/pull/1

Details:


  • This update makes it easy for people to set up users, tags, and so on through telegrams.

  • The configured information is updated to the bot system.

  • Users can also choose between mysql and yaml as the database.


Details are below.


I developed a module that executes queries to mysql.




https://github.com/passionbull/steemit-alarm-posting/blob/master/func/dbfunc.py

 


MySQL-module is applied to this system.




This system accesses db and updates user information.

 


Users can select database type in yaml or mysql.




If you set isUseMySQL to 1, you have chosen mysql. And you need to set the parameters for connect mysql.

https://github.com/passionbull/steemit-alarm-posting/blob/master/db_sample.yaml#L4-L8

 


Users can set users and tags using telegram.




I add some handler for setting user information.

https://github.com/passionbull/steemit-alarm-posting/blob/master/func/telefunc.py#L93-L100

How to contribute?


If you have any questions, please comment or contact @jacobyu on steemit.chat.

Thank you.



Posted on Utopian.io - Rewarding Open Source Contributors


This page is synchronized from the post: ‘Personal Steemit Notification Bot - update #1’

Comments

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×