Jump to content


How to delete all crates in the inventory.

node.js node-steam-tradeoffer-manager

  • Please log in to reply
1 reply to this topic

#1 vrtgn



  • Member
  • Pip
  • 1 posts

Posted 16 April 2019 - 03:01 PM

I am using the TF2 npm.
What I want is when I message the bot on steam a specific message e.g. deleteAllCrates it should delete all the crates. I've coded the messaging part I just need it to get the ID's off all the crates and put them in an array so I can do

^ would this work btw?

Thanks in advance.

#2 Dr. McKay

Dr. McKay


  • Administrator
  • 2,074 posts

Posted 16 April 2019 - 03:23 PM

No, you can't pass an array to deleteItem. You'll need to call it for each item individually.

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

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users