Diffcord API Docs
  • Welcome
  • Quick Start
  • Rewarding Votes
  • Rate Limits
  • Endpoints
    • Users
    • Bots
  • Resources
    • Vote
    • Error
    • Vote User
Powered by GitBook
On this page
  1. Resources

Vote User

Represents a Diffcord user who has voted for a given bot.

Field
Type
Description

user_id

snowflake

The id of the target user

bot_id

snowflake

The id of the bot which the user has voted for

monthly_votes

integer

The number of votes this user has for the given bot this month

since_last_vote

?integer

Time in seconds since the last vote

next_vote

integer

Time in seconds till the next vote

Example Output

{
    "data": {
        "bot_id": "125719832640328704",
        "user_id": "371468103135715330",
        "monthly_votes": 13,
        "since_last_vote": 64926,
        "next_vote": 0
    },
    "error": null
}
PreviousError

Last updated 2 years ago