How To

Within your profile page you will notice the webhook button. Click this to edit the webhook for one of your guilds.

Here you can enter your WebHook URL. We would suggest that you add a certain level of security to the URL such as a parameter like ?challenge=YoHelloThisIsASecret and this way you can verify the request when it arrives at your server.

Request Object

We simply do a POST to the URL you specify with the following object.

 guild: <guild_id>,
 user: <user_id>

The user_id is the Discord ID of the user who upvoted. With this you can do whatever magic suits your needs to reward your community users for upvoting. Whether thats adding a role, giving them an in game currency

Last updated