Interface WebhookPayload


  • WebhookPayload


bot?: string

If webhook is a bot: ID of the bot that received a vote

guild?: string

If webhook is a server: ID of the server that received a vote

isWeekend?: boolean

Whether the weekend multiplier is in effect, meaning users votes count as two

query: string | {
    [key: string]: string;

Query parameters in vote page in a key to value object

Type declaration

  • [key: string]: string
type: string

The type of the vote (should always be "upvote" except when using the test button it's "test")

user: string

ID of the user who voted

Generated using TypeDoc