Jump to content
McKay Development

vinilllll

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by vinilllll

  1. 35 minutes ago, loganWP said:

    Update package to latest version and add useAccessToken: true to your constructor

     

    const manager = new TradeOfferManager({
        steam: client,
        community: community,
        language: "br",
        useAccessToken: true 
      });

    I am using the latest version available: 

    "steam-tradeoffer-manager": "^2.11.1",

    but still shows me an error

    Captura de tela 2024-04-04 165237.png

  2. i use the manager.on to get the list of offers from my user. But right now, i am not receiving nothing, here's my code:

    Before que steam update was working perfectly.

      manager.on("offerList", async (_, offers) => {
        if (offers.length !== 0) {
          const offersIds = offers.map((offer) => `offers:${offer.id}`);
          console.log(offersIds);
       });

     

    this is my configuration of TradeOfferManager:

    const manager = new TradeOfferManager({
        steam: client,
        community: community,
        language: "br",
      });

    can anyone help me, pls?

×
×
  • Create New...