You are viewing a single comment's thread from:

RE: Steemit post Bot like @wang for introduceyourself

in #hacking8 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

Sort:  

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?

Coin Marketplace

STEEM 0.20
TRX 0.14
JST 0.030
BTC 67275.57
ETH 3480.50
USDT 1.00
SBD 2.67