The current documentation is outdated and no longer accurate.
The format of the data your webhook URL will receive in a POST request.
Field | Type | Description |
---|---|---|
bot | snowflake | Discord ID of the bot that received a vote. |
entity? | snowflake | Discord ID of the entity that received a vote. (Only in actual vote payloads) |
user | snowflake | Discord ID of the user who voted. |
type | string | The type of the vote (should always be "upvote" except when using the test button it's "test"). |
isWeekend | boolean | Whether the weekend multiplier is in effect, meaning users votes count as two. |
query? | string | Query string params found on the /bot/:ID/vote page. Example: ?a=1&b=2. |