Sort:  

The code doesn't work. Crash at line: var permlink = r[0].permlink;
r is null. Why are you trying to access the variable that was never set.

Yes, you are right ,that version wont work
I am just fixing the bug and refactorizing some functions before updating github
Thanks for checking!! :)

Can you also use some code formatter/beautifyer before the next update? Tab indents are a mess.

"vote" function should work fine now!
I have improved a little bit the formatting , I will work on it later after testing a few more functions

You may find this interesting..
@luisan00
@ausbitbank
@detlef-s

Would the bot get someone banned from steemit?

Well , I dont think so
I would say that it is even encouraged from Steemit
You have to select what categories you are voting in ,and that choose gives value to the community I think

did this thing work 3 days ago?