Skip to main content

Projects

Project endpoints are subject to stricter rate limits than others.

Update Discord Bot Commands

POST

v1/projects/@me/commands

Updates the commands for a specific bot.

Post Body

This endpoint accepts an array of objects following Discord's application command structure.

Get Vote Status By User

GET

v1/projects/@me/votes/:user_id

Gets the vote status for an individual user.

Query Parameters

ParameterTypeDescription
source?SourceThe source where the user ID is coming from.

Response Body

FieldTypeDescription
created_atDateThe timestamp of when the user last voted.
expires_atDateThe timestamp of when the user can vote again.
weightnumberThe amount of votes this vote counted for.

Example Response

{
"created_at": "2023-10-01T12:34:56.789Z",
"expires_at": "2023-10-01T18:34:56.789Z",
"weight": 1
}