
yellowish
-
Posts
4 -
Joined
-
Last visited
Community Answers
-
yellowish's post in How can i check if item was send in previouse offer was marked as the answer
For that purpose, you use tradeoffer-manager's getOffersContainingItems() function.
bot.manager.getOffersContainingItems(invItem, false, function(err, sent, received) { if (sent.length > 0) { /* item is pending */ } })