Fartura Posted September 29, 2017 Report Share Posted September 29, 2017 Hello, I wanted to create a bot of trades, I already have everything ready, just missing the essential, the exchanges. I already researched everything but I can not create a bot of exchanges .. the maximum where I arrived was this: manager.on('newOffer', (offer) => { if (offer.partner.getSteamID64() === 'trust steamid64') { offer.accept((err, status) => { if (err) { console.log(err); } else { console.log(`Accepted offer. Status: ${status}.`); } }); } else { offer.decline((err) => { if (err) { console.log(err); } else { console.log('Canceled offer from scammer.'); } }); } }); I wanted my bot to trade and I made a profit, but I do not really know how to do it and I do not understand a lot of code, can someone please help me? PLEASE <3 Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted September 29, 2017 Report Share Posted September 29, 2017 What exactly is happening? Quote Link to comment Share on other sites More sharing options...
xLeeJYx Posted September 29, 2017 Report Share Posted September 29, 2017 What exactly is happening?he is trying to make a bot that will trade according to a pricelist. But by just seeing the code u know what is it :V it only accept offer from 1 user Quote Link to comment Share on other sites More sharing options...
Fartura Posted September 29, 2017 Author Report Share Posted September 29, 2017 What exactly is happening?I want to make a bot of public exchanges, and the bot only accept the trades that I earn profit .. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.