Jump to content
McKay Development

Recommended Posts

Posted

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 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...