Votes
We offer a custom Voting System as a way for users to support their favorite bots. Users can currently vote for a bot every 12 hours, but this restriction may change in the future.
Voting Endpoints
Compat: Has User Voted
Check if a user has Voted for your Bot in the last 6 Hours!
This endpoint is deprecated and as such is not documented at our autogenerated docs here. Older libraries may however use it but this is not recommended for use anymore
GET
votes/:botID/:userIDResponse
Response | Description |
---|---|
hasVoted | If the user has Voted Recently (True or False) |
Get User Votes
GET
users/:userID/bots/:botID/votesResponse
Response | Description |
---|---|
ts | The timestamps of a users votes. This is to avoid you having to store these yourself on your own DB |
last_vote_time | The time you last voted at |
vote_time | The time (in hours) a user has to wait to next vote |
has_voted | If the user has Voted Recently (True or False) |