roblox-js icon indicating copy to clipboard operation
roblox-js copied to clipboard

Added getPlayerInfo function

Open Neztore opened this issue 7 years ago • 6 comments

Added the getPlayerinfo function

Required arguments: playerID

Returns: username: Username of target status: Status of target blurb: blurb of target joinDate: Join date of target (Date object) age: Days since the target user joined ROBLOX.

This is for #56

Neztore avatar Nov 19 '17 21:11 Neztore

Thank's Nez it helped a lot!

bbsquade101 avatar Nov 19 '17 22:11 bbsquade101

Age is redundant joinDate should return Date object

suufi avatar Nov 21 '17 00:11 suufi

@Neztore Age and JoinData are virtually the same. Age calculates how long it's been since said player has joined and JoinDate is the date of which said player joined. I'd leave it up to the person using the lib to calculate their "age" rather than providing it.

sbhadr avatar Nov 21 '17 23:11 sbhadr

@sentanos

Neztore avatar Dec 03 '17 21:12 Neztore

@Sloss2003 If you need it for a project, see this fork

Neztore avatar Jan 14 '18 14:01 Neztore

@Neztore I made it myself before i saw it haha

mwalden2004 avatar Jan 14 '18 16:01 mwalden2004