Meshi8 Posted June 9, 2018 Report Share Posted June 9, 2018 Hi, I'm trying to get a user's nickname. I know I'm supposed to use getUserDetails and then getPersonas, but what's the nickname property called? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 10, 2018 Report Share Posted June 10, 2018 Nickname as in the private name you gave the user, or nickname as in the user's profile (persona) name? Quote Link to comment Share on other sites More sharing options...
Meshi8 Posted June 10, 2018 Author Report Share Posted June 10, 2018 Nickname as in the private name you gave the user, or nickname as in the user's profile (persona) name?Private name i gave the user Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 11, 2018 Report Share Posted June 11, 2018 https://github.com/DoctorMcKay/node-steam-user#mynicknames Quote Link to comment Share on other sites More sharing options...
. Marsh.Mello . Posted June 13, 2018 Report Share Posted June 13, 2018 https://github.com/DoctorMcKay/node-steam-user#mynicknames I'm a bit confused how I am meant to add this.Is there any examples? NoiseBaphomet 1 Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 13, 2018 Report Share Posted June 13, 2018 How to add it? Quote Link to comment Share on other sites More sharing options...
Cool Guy123 Posted June 15, 2018 Report Share Posted June 15, 2018 (edited) like that ? for (let i = 0; i != Object.keys(client.myNicknames).length; i++) { let steamid = Object.keys(client.myNicknames)[i] let nickname = client.myNicknames[steamid] console.log(steamid.toString() + ": " + nickname) //76561198051814480: My Best Buddy } Edited June 15, 2018 by Cool Guy123 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.