Personal Steemit Notification Bot - update #1

in #utopian-io7 years ago (edited)

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

Sort:  

a very helpful post, thanks your knowledge brother

Thank you!!
I am glad that this post helped you.

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thanks Vlad!

Hey @jacobyu I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.21
TRX 0.25
JST 0.038
BTC 95358.83
ETH 3366.72
USDT 1.00
SBD 3.11