You are viewing a single comment's thread from:

RE: Notification bot for Steem in 30 lines of code

in #steem9 years ago

steem.stream_comments() is a generator that returns all comments when they come in.
The start parameter just tells the starting block. If you leave it, it will start with the most recent block.

This way, you can store the block number and continue your bot where you have left after an unexpected shutdown.