Jump to content
McKay Development

Shiny

Member
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Shiny got a reaction from Dr. McKay in Sending trade offer error   
    I deleted useless code
    function sendSomeItem() { console.log('function started') const partner = '76561198989375284'; const appid = 730; const contextid = 2; const offer = manager.createOffer(partner); offer.addTheirItem({ 'assetid': 18697938160, 'appid': appid, 'contextid': contextid }); offer.setMessage('Test offer'); offer.send((err, status) => { if (err) { console.log(err); } else { console.log(`Sent offer. Status: ${status}.`); } }); } Now i get function started and error that i must have steam guard for at least 15 days. So i think this is working  Thank you so much for that fast answers <3 
  2. Like
    Shiny reacted to Dr. McKay in Setup Newbie Problem   
    Take a look at the examples in the steam-tradeoffer-manager repository. It should be fairly trivial to modify the example to accept all incoming offers into one that declines all incoming offers.
×
×
  • Create New...