Jump to content
McKay Development

Koncealed

Member
  • Content Count

    2
  • Joined

  • Last visited

  1. Hello, I worked on projects where I could use async await to try to make my functions a bit cleaner instead of falling into callback hell. So I wrote this below. async _fetchInventory() { this.inventory = await this.tradeOfferBot.getInventoryContents(this.GAME_CODE, 2, true); console.log('Below is from the fetch inventory function.'); console.log(this.inventory); } I want to add the items into a variable inside of my class. Is this possible? Thanks!
  2. Hello, I am trying to run a program that runs currently 2 Steam Accounts. One main, and one BOT. I'm trying to make a SteamTradeFarm. Where it will BOT up the amount of trades done. So once I send the trade offer I want to control the other account and accept the trade and confirm the trade. The problem is this mainClient.on('webSession', function (sessionID, cookies) { manager.setCookies(cookies, function (err) { if (err) { console.log(err); process.exit(1); return; } console.log("Got API key: " + manager.apiKey); }); communit
×
×
  • Create New...