Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebhookPayload

Index

Properties

Optional bot

bot: string

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

Optional guild

guild: string

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

Optional isWeekend

isWeekend: boolean

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

query

query: string | {}

Query parameters in vote page in a key to value object

type

type: string

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

user

user: string

ID of the user who voted

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method

Generated using TypeDoc