Receiving Votes

Receive Vote

POST ​https://your.webhook.com/discordswebhook

We recomend you end your webhooks with /discordswebhook, although it's not required.

Headers

NameTypeDescription

Authorization

string

The plain text string used to verifiy that the request is coming from discords.com

Request Body

NameTypeDescription

user

string

The ID of the user who voted

bot

string

The ID of the bot which recieved the vote

votes

string

Contains totalVotes, votesMonth, votes24, hasVoted - a list of IDs of users who have voted this month, and Voted24 - a list of IDs of users who have voted today

type

string

The type of event, whether it is a vote event or test event

// No response is required but a simple OK would be nice

Last updated