CD {the dir of the folder}
npm i
node bot.js
Then add your ussername,password,secrets and api key to config
TO GET A API KEY GO TO https://steamapi.io/user AND LOGIN WITH STEAM
username
ANDpassword
pretty easy to understandbotname
What you want the bots profile name to be, leave blank to not changeidentitySecret
ANDsharedSecret
You get theese from Steam Desktop Authenticator and de-crypting the filesadminIDs
An array of steam64 ids to auto-accept trades fromoptions
apiKey
An api key from https://steamapi.io/ as mentioned aboveappid
App id to get prices from, 730 (CS:GO) is default not tested to work with others but couldminimumprice
Minium value for their itemsacceptRandomFriendRequests
true OR false, easy to understandpriceRefreshInterval
Time (in seconds) to refresh priceconfirmationInterval
Time (in seconds) to check mobile authpercentamount
Percent to value their items at EX: 95% would be 0.95 in configchatResponse
Chat message handlingdonation
Message to send to user when they donate skinsjunk
Message to send when users items are less thenminimunprice
tradeDeclined
Message to send when users items have less value then bots itemstradeAccepted
Message to send when trade goes throughnewFriend
Message to send to user when they add the botunknownCommand
Message to send to user when they send you a message that is not a commandadminTrade
Sent to admin when they make a (auto-accepted) trade to the bot NOTE: admins can be configured inadminIDs
commands
Custom simple commands, JSON object in form of "!command" : "res"
If you want to contrubuite you must follow theese rules
- Adding elements to config requires you to update README.md
- You must comment your code sufficently
- You have to add enough for it to be merged, EX: i will not merge adding one comment
- Obviously make sure personal details are out of config when makng a PR
- Leave placeholder commands and responces in
- Dont add anything to the bot to scam people