Skip to content

Upvotes

Users can upvote a bot once every 12 hours. At the end of each month, any bot with more than 500 upvotes has its counter reset to 0.

Schema

Currently, the API only supports the upvote event. Below is the schema for the payload sent via the request.

KeyTypeDescription
actionSTRINGThe type of event [upvote]
user_idSTRINGDiscord ID of the user who cast the vote
bot_idSTRINGDiscord ID of the bot that received the upvote
streak_countNUMBERNumber of consecutive votes by the user without skipping
last_vote_timeDATEISO 8601 timestamp of when the vote was cast

TIP

The streak_count resets to 0 if 24 hours pass after last_vote_time without a new upvote.