AshIgorash Posted December 27, 2023 Report Posted December 27, 2023 I made a small functionality for sending offers using my bots, but the number of active offers with one person is limited to 5 and 30 in total active offers. How do I keep this number and get the most free bot to make next offer. Quote
That Guy From 199x Posted January 10 Report Posted January 10 manager.getOffers(1, (error, sent, received) => { if (error) return console.log(error) let totalSent = sent.filter(offer => offer.partner.getSteamID64() === steamID64).length //steamID64 of the person you want to filter offers }); Quote
Recommended Posts
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.