# LeaderBoard

Represents a FakeYou leaderboard

# Constructor

new LeaderBoard(client, data);
PARAMETER TYPE DESCRIPTION OPTIONAL
client Client The client that instantiated this No
data APIData The leaderboard API data No

# Properties

# client

The client that instantiated this


# group

The group of info this leaderboard has

# Methods

# getPosition(position, isw2l)

Obtains an item based on its position in the leaderboard

PARAMETER TYPE DESCRIPTION OPTIONAL
position Number The position to get No
isw2l Boolean If the item is from w2l leaderboard Yes

# tts()

Gets the TTS leaderboard


# toArray()

Generates an array that contains username and count info


# w2l()

Gets the W2L leaderboard