Repository
https://github.com/jtomes123/SteemVotingBot
New feature - Comments after an upvote
The bot can now leave comments after it upvotes a post, you can see an example below. You can fully customize the body and title of the comment and you can decide whether or not the bot should leave a signature. I wanted to implement this feature when the bot was released, however I did not really know how to go about it, as I got better at javascript I could finally do it, it was all about eliminating the callbacks.
Bugfixes and improvements
I have completely rewritten the bot with the use of bluebird promises an async/await in order to gain better control over the execution of the code. This allowed me to properly use the sleep library in order to wait between upvotes and comments.
Another improvement is that commenting and voting is now wrapped in a try chatch statement, so if there is an error, it is just logged instead of the whole bot crashing.
I have also impoved the comments in the program as this bot was always mainly intended as an educational piece of code for someone wondering how to make something like this. This is also the reason why I left the old functions in and just marked them as deprecated. Feel free to fork it and hack away.
Thank you for your contribution. It doesn't unique in any way because a lot of open source bots are there which does the same thing. You can try improving the README of your repo with Usage AND Install instructions. Also commenting on your code will help the user to know more about the code.
Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.
[utopian-moderator]