Has Voted? LEGACY
Warning!
This is a legacy endpoint. You should use the new Has Voted endpoint instead!
GET
https://api.botlist.me/api/v1/bots/:id/hasvoted
Request
| Path Parameters | Type | Required | Description |
|---|---|---|---|
| id | integer | yes | ID of bot to check |
| Headers | Type | Required | Description |
|---|---|---|---|
| authorization | string | yes | Bot Auth token that can be found by editing your bot |
| Body Parameters | Type | Required | Description |
|---|---|---|---|
| userid | integer | yes | User ID of the user to check |
Response
200 OK
hasVoted: boolean indicates if a user has voted in the last 12 hours.
timestamp: timestamp, The timestamp at which the user has last voted.
{
"hasVoted": true,
"timestamp": "2021-07-09T13:31:44.876+00:00"
}