Skip to main content
GET
Check a user vote

Authorizations

Authorization
string
header
required

The bot's API token, generated on its edit page. Sent bare or as Bearer <token> -- both are accepted, because the libraries already posting to other lists send both. The token is shown once; generating a new one invalidates the old.

Path Parameters

id
string
required

The bot's Discord application id. It has to be the bot the token belongs to.

Pattern: ^\d{17,19}$

Query Parameters

userId
string
required

The Discord user id to look up.

Pattern: ^\d{17,20}$

Response

The user's vote state for this bot.

voted
enum<integer>
Available options:
0,
1
hasVoted
boolean
votedAt
string<date-time> | null
nextVoteAt
string<date-time> | null

12 hours after the vote. Null when the user has not voted inside the window.