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