The !thumbup Bot Command on Steem Blockchain (Updates and Improvements)

in Witness Activities2 years ago

You can invoke the thumbup bot by having "!thumbup" in the comment, like this:

image.png

A random GIF (of thumbup images) from giphy will be shown. The images are now stored on local servers to improve the robustness/availability.

So far, there are 51 gifs (these are chosen in advance) because:

  1. no surprise compared to calling the GIPHY api.
  2. images are always available because the copies have been saved to local server(s).

Current problems:

  1. The bot listens to the transactions on the chain at real time, if it misses it, it won't go back to scan and action.
  2. The RPC node may not work as expected. There is a failover, but it happened that the node fails to respond the steem.api.streamOperations

Future work:

  1. when thumbup, give a small upvote (automatically).
  2. scale the deployment horizontally, so there is a backup to avoid single point of failure.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Thank you for reading ^^^^^^^^^^^^^^^

NEW! Following my Trail (Upvote or/and Downvote)

Follow me for topics of Algorithms, Blockchain and Cloud.
I am @justyy - a Steem Witness
https://steemyy.com

My contributions

Steem/Swap to USDT Swap

I also made this Super Easy/Handy Service to Convert your STEEM or SBD to USDT (TRC-20)

Delegation Service

Voting Power Considered in Voting Schema and Important Update of Delegation Service!

  • Delegate 1000 to justyy: Link
  • Delegate 5000 to justyy: Link
  • Delegate 10000 to justyy: Link

Support me

If you like my work, please:

  1. Delegate SP: https://steemyy.com/sp-delegate-form/?delegatee=justyy
  2. Vote @justyy as Witness: https://steemyy.com/witness-voting/?witness=justyy&action=approve
  3. Set @justyy as Proxy: https://steemyy.com/witness-voting/?witness=justyy&action=proxy
    Alternatively, you can vote witness or set proxy here: https://steemit.com/~witnesses
Sort:  

great work, !thumbup

:) Thank you!

Hello @justyy! You are fabulous!


command: !thumbup is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!

This post has been featured in the latest edition of Witness Weekly...

Coin Marketplace

STEEM 0.19
TRX 0.14
JST 0.030
BTC 62904.98
ETH 3359.08
USDT 1.00
SBD 2.46