Receiving Votes

Last updated 3 months ago

post
Receive Vote

Response only
Request
Response
200: OK
vote made and response successfully POSTed
{
"user": "000000000000000000",
"bot": "123456789012345678",
"votes": {
"totalVotes": 5,
"votes24": 5,
"votesMonth": 3,
// only visible if webhook secret key is not NULL or EMPTY
"hasVoted": [
"000000000000000000",
"111111111111111111",
"222222222222222222"
],
// only visible if webhook secret key is not NULL or EMPTY
"hasVoted24": [
"000000000000000000",
"111111111111111111",
"222222222222222222",
"333333333333333333",
"444444444444444444"
]
},
// will be "test" when using testing button
// you can test on your bots edit page
"type": "vote"
}