Jump to content
McKay Development

Cancel offer if user wants to select bot items

Recommended Posts

Yes I have something like that. I always decline offers sent by users.

manager.on('newOffer', function(offer) {

            console.log("New offer #" + offer.id + " from " + offer.partner.getSteam3RenderedID());

            offer.decline(function(err) {

                if (err) {

                console.log('Offer was declined, we dont accept external offers. Only our bots can send an offer :-D');

So, the big question is: When the event "newOffer" is called?

Link to comment
Share on other sites

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.

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.

  • Create New...