You are viewing a single comment's thread from:

RE: My Little proiect i've been working on - SteemitCards Bot

in #steemit7 years ago

It has a declarative nature so you can assign a function and the responder object can always answer any replies. Like this:

bot.onComment(['bittrex', 'poloniex'], function(data, responder) {
  responder.upvote();
  responder.comment(`Hi @${data.author} there! I just upvoted you using SteemBot JavaScript library!`);
});