I had the same issue of double answers. It happens, when people edit their post. (I just made a similar bot for introducing people under the deutsch tag.) https://steemit.com/@sirwinchester/comments http://i.imgur.com/2yTA6E9.png ## I fixed my bot like this: (It's piston based) already_commented = [] if not newbie in already_commented: introduction_post.reply(body=welcome author="sirwinchester") already_commented.append(newbie) <br> I hope, I could be of help. But please remember what happened to @wang ;)
post_id | 2,752,686 |
---|---|
author | felixxx |
permlink | hey-sirwinchester-your-wang-style-comment-bot-has-a-bug |
category | steemdev |
json_metadata | "{"format": "markdown", "links": ["https://steemit.com/@sirwinchester/comments"], "app": "steemit/0.1", "tags": ["steemdev", "bothelp"], "users": ["wang"], "image": ["http://i.imgur.com/2yTA6E9.png"]}" |
created | 2017-05-15 18:38:15 |
last_update | 2017-05-15 18:39:36 |
depth | 0 |
children | 6 |
net_rshares | 7,959,798,628,738 |
last_payout | 2017-05-22 18:38:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 30.303 SBD |
curator_payout_value | 6.494 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 543 |
author_reputation | 66,238,594,869,311 |
root_title | "Hey @sirwinchester your @wang-style comment bot has a bug" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
berniesanders | 0 | 5,318,111,651 | 5% | ||
pharesim | 0 | 667,944,953,314 | 8% | ||
boy | 0 | 3,872,704,184 | 100% | ||
bue-witness | 0 | 4,722,108,746 | 100% | ||
bunny | 0 | 694,663,385 | 100% | ||
steemychicken1 | 0 | 46,689,023,252 | 100% | ||
bue | 0 | 77,437,685,766 | 100% | ||
steemservices | 0 | 140,361,537,238 | 5% | ||
mini | 0 | 2,069,896,108 | 100% | ||
moon | 0 | 263,173,280 | 100% | ||
healthcare | 0 | 771,387,276 | 100% | ||
daniel.pan | 0 | 1,220,352,756 | 100% | ||
helen.tan | 0 | 352,793,313 | 100% | ||
ivan-perez-anies | 0 | 1,686,651,350 | 2.5% | ||
carlos-cabeza | 0 | 200,845,148 | 2.5% | ||
oaldamster | 0 | 39,466,295,238 | 100% | ||
cryptofunk | 0 | 2,714,979,844 | 96% | ||
juanmiguelsalas | 0 | 801,712,175 | 2.5% | ||
skapaneas | 0 | 51,449,760,936 | 100% | ||
asmolokalo | 0 | 69,560,766,292 | 25% | ||
heiditravels | 0 | 23,966,280,514 | 2.5% | ||
redpalestino | 0 | 126,218,145,982 | 100% | ||
furion | 0 | 353,276,498,590 | 49.7% | ||
bitland | 0 | 1,160,178,637 | 100% | ||
transisto | 0 | 3,076,694,592,629 | 100% | ||
luisucv34 | 0 | 466,638,961 | 2.5% | ||
opheliafu | 0 | 31,182,156,503 | 63% | ||
coininstant | 0 | 21,775,859,492 | 100% | ||
sergey44 | 0 | 1,055,166,558 | 100% | ||
ace108 | 0 | 197,808,087,476 | 74% | ||
brianphobos | 0 | 2,516,008,275 | 100% | ||
uwe69 | 0 | 1,257,446,618 | 100% | ||
shaka | 0 | 391,386,468,552 | 50% | ||
shortcut | 0 | 35,801,448,229 | 100% | ||
ap2002 | 0 | 76,593,894 | 100% | ||
dirty.hera | 0 | 697,698,183 | 100% | ||
craigslist | 0 | 521,957,338 | 100% | ||
felixxx | 0 | 66,995,185,216 | 100% | ||
dumar022 | 0 | 46,123,703,842 | 100% | ||
timsaid | 0 | 75,630,616,942 | 100% | ||
achim86 | 0 | 30,276,720,605 | 100% | ||
elena000 | 0 | 221,333,856 | 100% | ||
sirwinchester | 0 | 91,238,794,819 | 100% | ||
gargon | 0 | 8,888,187,313 | 2.5% | ||
pgarcgo | 0 | 8,362,566,410 | 2.5% | ||
wartrapa | 0 | 1,289,275,785 | 2.5% | ||
thebotkiller | 0 | 12,572,832,450 | 5% | ||
herbertmueller | 0 | 2,326,501,216 | 100% | ||
moisesmcardona | 0 | 505,631,502 | 2.5% | ||
gammagooblin | 0 | 6,478,211,004 | 100% | ||
neptun | 0 | 4,179,918,491 | 100% | ||
nang1 | 0 | 615,898,612 | 100% | ||
andrewawerdna | 0 | 16,225,412,520 | 100% | ||
englishtchrivy | 0 | 47,501,656,484 | 50% | ||
runridefly | 0 | 9,655,990,407 | 11% | ||
pollux.one | 0 | 48,057,785,181 | 50% | ||
titin | 0 | 2,786,346,210 | 2.5% | ||
thecyclist | 0 | 241,406,715,910 | 5% | ||
jeanviete | 0 | 944,915,008 | 100% | ||
saamychristen | 0 | 11,546,707,720 | 100% | ||
jgcastrillo19 | 0 | 3,952,144,142 | 2.5% | ||
nelyp | 0 | 551,011,301 | 2.5% | ||
dirkzett | 0 | 494,067,450,670 | 100% | ||
juliamateo | 0 | 131,261,273 | 2.5% | ||
teo | 0 | 180,488,314 | 2.5% | ||
ssekulji | 0 | 20,705,538,433 | 100% | ||
dresden | 0 | 22,129,262,098 | 90% | ||
alfredozofio | 0 | 186,497,488 | 2.5% | ||
freiheit50 | 0 | 19,523,979,160 | 100% | ||
jaki01 | 0 | 415,248,282,077 | 100% | ||
beers | 0 | 82,794,262,062 | 100% | ||
steemsports | 0 | 26,562,448,304 | 44% | ||
dulcinea | 0 | 253,765,468 | 2.5% | ||
mdcomes | 0 | 262,660,872 | 2.5% | ||
unityofmulti | 0 | 2,447,084,295 | 100% | ||
elishagautam | 0 | 446,929,513 | 100% | ||
trans-juanmi | 0 | 4,204,282,753 | 60% | ||
orionvk | 0 | 23,784,040,232 | 100% | ||
steemer0815 | 0 | 843,060,785 | 100% | ||
engagement | 0 | 527,931,688,537 | 5% | ||
bottymcbotface | 0 | 193,884,901 | 89% | ||
bellastella | 0 | 2,620,984,780 | 50% | ||
aniestudio | 0 | 598,311,240 | 2.5% | ||
juliosalas | 0 | 569,458,061 | 60% | ||
fibra59 | 0 | 19,721,006,953 | 100% | ||
darth-azrael | 0 | 6,240,493,063 | 77% | ||
barvon | 0 | 692,179,743 | 100% | ||
tamim | 0 | 33,994,497,328 | 2.5% | ||
kobold-djawa | 0 | 16,974,417,422 | 100% | ||
loreennaa | 0 | 268,068,577 | 2.5% | ||
dzone | 0 | 41,150,358,454 | 100% | ||
eem | 0 | 92,814,647 | 63% | ||
con-dom | 0 | 1,906,455,259 | 100% | ||
theyeti | 0 | 16,688,723,173 | 5% | ||
artpoet | 0 | 2,699,760,965 | 100% | ||
yougotflagged | 0 | 26,334,268,673 | 5% | ||
buzzbeergeek | 0 | 7,649,078,934 | 100% | ||
fleur | 0 | 1,547,767,695 | 88% | ||
tincho | 0 | 178,232,116 | 2.5% | ||
mckenzie259 | 0 | 575,574,155 | 100% | ||
radlerjan | 0 | 1,294,948,362 | 100% | ||
aismor | 0 | 510,891,482 | 100% | ||
sancho.panza | 0 | 62,725,683 | 2.5% | ||
oendertuerk | 0 | 1,001,309,178 | 100% | ||
dirkzett-english | 0 | 1,121,758,985 | 100% | ||
nitinchugh | 0 | 238,671,113 | 100% | ||
element91 | 0 | 1,515,370,301 | 100% | ||
rashidul10 | 0 | 1,394,140,211 | 100% | ||
no0balot | 0 | 0 | 100% |
Thanks for your advice - good to know. I thought it would be beneficial if I welcome the new steemians and put my steem power to good use to upvote them!
post_id | 2,752,875 |
---|---|
author | sirwinchester |
permlink | re-felixxx-hey-sirwinchester-your-wang-style-comment-bot-has-a-bug-20170515t184230731z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-05-15 18:42:30 |
last_update | 2017-05-15 18:42:54 |
depth | 1 |
children | 1 |
net_rshares | 15,460,427,357 |
last_payout | 2017-05-22 18:42:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.023 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 153 |
author_reputation | 398,107,170,553,498 |
root_title | "Hey @sirwinchester your @wang-style comment bot has a bug" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
felixxx | 0 | 15,460,427,357 | 21% |
Very noble.
post_id | 2,752,921 |
---|---|
author | felixxx |
permlink | re-sirwinchester-re-felixxx-hey-sirwinchester-your-wang-style-comment-bot-has-a-bug-20170515t184331076z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-05-15 18:43:30 |
last_update | 2017-05-15 18:43:30 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2017-05-22 18:43:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 11 |
author_reputation | 66,238,594,869,311 |
root_title | "Hey @sirwinchester your @wang-style comment bot has a bug" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
Hey @felixxx how do you scan through the tags, there only seems to be comment.category with one tag, say if I want to find something in the 2nd, 3rd, 4th, 5th tag?
post_id | 2,809,572 |
---|---|
author | cryptofunk |
permlink | re-felixxx-hey-sirwinchester-your-wang-style-comment-bot-has-a-bug-20170517t184538540z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "users": ["felixxx"], "tags": ["steemdev"]}" |
created | 2017-05-17 18:45:42 |
last_update | 2017-05-17 18:45:42 |
depth | 1 |
children | 3 |
net_rshares | 0 |
last_payout | 2017-05-24 18:45:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 164 |
author_reputation | 21,989,847,737,535 |
root_title | "Hey @sirwinchester your @wang-style comment bot has a bug" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
This includes the category, too: tags = (post["json_metadata"].get("tags", [])) It will give you a list.
post_id | 2,809,617 |
---|---|
author | felixxx |
permlink | re-cryptofunk-re-felixxx-hey-sirwinchester-your-wang-style-comment-bot-has-a-bug-20170517t184716039z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-05-17 18:47:15 |
last_update | 2017-05-17 18:47:39 |
depth | 2 |
children | 2 |
net_rshares | 5,138,384,018 |
last_payout | 2017-05-24 18:47:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 110 |
author_reputation | 66,238,594,869,311 |
root_title | "Hey @sirwinchester your @wang-style comment bot has a bug" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cryptofunk | 0 | 5,138,384,018 | 100% |
Excellent thanks a lot! You are the Python guru
post_id | 2,810,938 |
---|---|
author | cryptofunk |
permlink | re-felixxx-re-cryptofunk-re-felixxx-hey-sirwinchester-your-wang-style-comment-bot-has-a-bug-20170517t193927363z |
category | steemdev |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemdev"]}" |
created | 2017-05-17 19:39:27 |
last_update | 2017-05-17 19:39:27 |
depth | 3 |
children | 1 |
net_rshares | 0 |
last_payout | 2017-05-24 19:39:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 47 |
author_reputation | 21,989,847,737,535 |
root_title | "Hey @sirwinchester your @wang-style comment bot has a bug" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |