Skip to main content

top.gg

Check votes and read stats of your bot or server listing on top.gg, and run flows when someone votes.

Vote received​

Runs when someone votes for your project on top.gg. Paste this webhook's URL into your top.gg webhook settings, then paste the secret top.gg shows into SCNX.

Settings

NameTypeRequiredDetails
WebhookTextYesThe top.gg webhook that starts this flow. Create it right here in the trigger. Length: 1 to 64 characters.

Provided values

NameTypeDetails
UserUserThe Discord user who voted. Empty when Discord no longer knows the user. May be empty.
User IDDiscord IDThe Discord ID of the user who voted. May be empty.
UsernameTextThe Discord username of the user who voted. May be empty.
WeightWhole numberHow much the vote counts: 2 for weekend votes, otherwise 1. Empty for test events. May be empty.
Voted atDate and timeWhen the user voted. Empty for test events. May be empty.
Expires atDate and timeWhen the vote stops counting. Empty for test events. May be empty.
Vote link parametersLookup table of Text to TextThe query parameters added to the vote link, for example ?source=discord. May be empty.
Eventtop.gg vote eventEverything the service sent about this event. May be empty.
Is a testYes/NoWhether top.gg sent a test event instead of a real one.
Delivery IDTextA unique ID for this delivery. A delivery can arrive twice; store this ID to skip repeats.
Need more help?
Can't find what you're looking for? Our team is happy to help.