Jump to content
McKay Development

soonduq

Member
  • Posts

    5
  • Joined

  • Last visited

soonduq's Achievements

  1. const offer = manager.createOffer(''+user.link+''); offer.addMyItem({ "id": item.assetid, "assetid": item.assetid, "appid": 730, "contextid": 2, "amount": 1 }); offer.setMessage('Delivery "'+item.item+'" from sitename for '+user.name+' ['+helpers.getDateTime()+']'); offer.send(function(err, status) { if(err){ util.log(`[BOT] Sent error: ${err}`); }else{ util.log(`[BOT] Sending: ${item.item} for ${user.name}. TradeID# ${offer.id}`); community.acceptConfirmationForObject(identity, offer.id, function(err) { if(err){ util.log(`[BOT] Error: ${err}`); }else{ util.log(`[BOT] Tradeoffer #${offer.id} sent!`); } }); } }); After offer send, i've got error → TypeError: community.acceptConfirmationForObject is not a function What is the problem? startConfirmationChecker work successfully
  2. Sry, but how use this for autorization?
  3. pm2 automaticly restarting when bot.js crashed
  4. I'm using pm2. When steam go down pm2 automaticly restarting bot, and then i've got error: RareLimit Exceeded How to fix this?
×
×
  • Create New...