Vote

User vote resource. Represents a user vote for a bot on Diffcord.

Fields

FieldTypeDescription

vote_id

string

The id of the vote

user_id

snowflake

The id of the user who has voted

bot_id

snowflake

The id of the bot which the user has voted for

since_vote

?float

Seconds that have elapsed since the vote

rewarded

boolean

Whether the user vote has been rewarded and/or aknowledged (this must be manually changed via an API request)

test

boolean

Whether this is a testing bot vote (sent as a test via bot/server api dashboard) or not

monthly_votes

integer

Votes this month, excluding this vote.

Example Output

{
  "vote_id": "7019eeaa-a25a-446e-9122-dccf540e2405",
  "user_id": "129743267142362715",
  "bot_id": "7231198106540828102",
  "since_vote": 2.9213,
  "rewarded": false,
  "test": false,
  "monthly_votes": 12
}

Last updated