MikesTooLz Posted November 25, 2016 Report Share Posted November 25, 2016 Maybe I'm doing something wrong but I am trying to use friends.sendMessage(offer.partner, "message"); to send a message to the person who sent a trade offer and let them know it was accepted or why it was declined. If I use friends.sendMessage("mysteamID", "message"); and replace mysteamID with my actual steamID the message gets sent to me correctly. However with offer.partner they never receive a chat message. Quote Link to comment Share on other sites More sharing options...
MikesTooLz Posted November 25, 2016 Author Report Share Posted November 25, 2016 OK, I got it figured out by using offer.partner.getSteamID64() Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted November 25, 2016 Report Share Posted November 25, 2016 I assume friends is not node-steam-user? Quote Link to comment Share on other sites More sharing options...
MikesTooLz Posted November 26, 2016 Author Report Share Posted November 26, 2016 (edited) no its steam, I'm using both . Edited November 26, 2016 by MikesTooLz Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted November 26, 2016 Report Share Posted November 26, 2016 Right. If you were using node-steam-user then just using offer.partner would work, but since you're using node-steam you need to convert it to a string. Quote Link to comment Share on other sites More sharing options...
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.