Receiving Votes
Receive Vote
POST
https://your.webhook.com/discordswebhook
We recomend you end your webhooks with /discordswebhook
, although it's not required.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | The plain text string used to verifiy that the request is coming from discords.com |
Request Body
Name | Type | Description |
---|---|---|
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 |
Last updated