Meshi8 Posted June 9, 2018 Report 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
Dr. McKay Posted June 10, 2018 Report 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
Meshi8 Posted June 10, 2018 Author Report 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
Dr. McKay Posted June 11, 2018 Report Posted June 11, 2018 https://github.com/DoctorMcKay/node-steam-user#mynicknames Quote
. Marsh.Mello . Posted June 13, 2018 Report 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
Cool Guy123 Posted June 15, 2018 Report 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
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.