Jump to content


Photo

newOffer event for sent offers

node.js node-steam-tradeoffer-manager

  • Please log in to reply
2 replies to this topic

#1 Adam

Adam

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 18 March 2019 - 09:45 PM

Hi,

Is it possible to trigger the newOffer event when an offer is sent from the bot?

It obviously triggers when an offer is recieved, but how can I make it (or another event) trigger upon sending an offer?

Thanks

:D



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,042 posts

Posted 19 March 2019 - 01:33 AM

There is no event emitted when you send a trade offer via the bot as obviously you should know when you send a trade offer. If you want to detect trade offers sent from the bot's account but not from TradeOfferManager, you can use unknownOfferSent.



#3 Adam

Adam

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 19 March 2019 - 05:33 PM

Awesome, thanks. I using it to make sure the account can't be hacked  :P







Also tagged with one or more of these keywords: node.js, node-steam-tradeoffer-manager

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users