Methods
getBot(id) → {Promise}
Returns information on the specified bot.
Parameters:
Name | Type | Description |
---|---|---|
id |
Number | The bot id. |
Returns:
The returned data.
- Type
- Promise
getBots() → {Promise}
Returns all bots on the site.
Returns:
The returned data.
- Type
- Promise
getCurrent() → {Promise}
Returns information about the current bot.
Returns:
The returned data.
- Type
- Promise
getStats() → {Promise}
Gets useful statistics aboutthe list.
Returns:
The returned data.
- Type
- Promise
getVotes() → {Promise}
Returns all votes for the current bot.
Returns:
The returned data.
- Type
- Promise
hasVoted24() → {Promise}
Check if a user has voted for the bot in the past 24 hours.
Returns:
The returned data.
- Type
- Promise