sNIP Posted August 28, 2019 Report Posted August 28, 2019 var offer = manager.createOffer(partnerId);offer.getUserDetails(function (err, them) {if(err){console.log(`Error getting trade info of partnerId; ${partnerId}\nerr:${err}`);}else{console.log(them.escrowDays);console.log(them.contexts);}}); Before I want to send an offer, I want to check the partner inventory.what will console.log(them.contexts); print? I can't test it because my bot account can't trade till 15 days are passed.Does it just print the contexts of the games that the partner have? If this is the case, is manager.getUserInventoryContents the way to get trade? Quote
Dr. McKay Posted August 28, 2019 Report Posted August 28, 2019 Does it just print the contexts of the games that the partner have? If this is the case, is manager.getUserInventoryContents the way to get trade? Yes, and yes. Quote
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.