RE: Steemit post Bot like @wang for introduceyourself

You are viewing a single comment's thread from:

Steemit post Bot like @wang for introduceyourself

in hacking •  9 years ago 

Hello @soupernerd,

you just need to set a start time and check with a "if", if time elapsed is <20

Example: http://stackoverflow.com/questions/3620943/measuring-elapsed-time-with-the-time-module

start_time = time.time()
elapsed_time = time.time() - start_time

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi seagul,

What I was actually wondering is this. Steemit seems to throw an error if you try to comment too fast.

Example of the steem error:

"(now - auth.last_post) > STEEMIT_MIN_REPLY_INTERVAL: You may only comment once every 20 seconds"

Is there a way to check against steemit itself, if your last post was within the last 20 seconds? So instead of just checking against elapsed time generally, checking against whatever it is steemit is checking?