Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Added getAge.js file #55

Closed
wants to merge 2 commits into from
Closed

Added getAge.js file #55

wants to merge 2 commits into from

Conversation

Neztore
Copy link

@Neztore Neztore commented Sep 15, 2017

Created the GetAge.js file which gets a user's age the same way most user functions work.
Takes the Arguments UserID and parseDays - a bool value. If parseDays is false it will return the day the user created their account. If it is true, it will return the number of days since account creation.

Created using Cheerio the same way that the other user functions work.

Neztore added 2 commits September 15, 2017 17:32
Gets userAge using Cheerio, in the same way that most user functions work. Takes UserID,parse args, UserID is id of user and parse is a bool that chooses if it parses it from a date to days or not.
@Neztore
Copy link
Author

Neztore commented Sep 23, 2017

If this is going to be ignored I'll just close it. Could've at least said you didn't want it.

@sentanos
Copy link
Owner

Sorry, this will be used in getPlayerInfo instead as per #56.

@sentanos sentanos closed this Sep 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants