Random Posted January 8, 2017 Report Share Posted January 8, 2017 Hi, I've been been messing around with this and got it to tts to work with steam messages. But I can not find a display name option? So I know who sent me a message or sent a friend request, Thanks. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 8, 2017 Report Share Posted January 8, 2017 https://github.com/DoctorMcKay/node-steam-user#myfriends and https://github.com/DoctorMcKay/node-steam-user#getpersonassteamids-callback Quote Link to comment Share on other sites More sharing options...
Random Posted January 8, 2017 Author Report Share Posted January 8, 2017 (edited) I have no idea how to go about coding this.I tried this as a test but It didn't work. console.log(client.getPersonas(steamID, user)); and console.log(steamID.getPersonas(steamID, user)); butError: ReferenceError: user is not defined and TypeError: steamids.map is not a function Edited January 8, 2017 by Random Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted January 9, 2017 Report Share Posted January 9, 2017 The callback argument should be a callback. If you don't know what that is, I suggest that you find some online JavaScript classes. 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.