This is an easy way to integrate Discord Bot List voting with your bot.
Enable webhooks
Enabling vote hooking is very easy:
First open your KSoft.Si API dashboard (click here), then select your app and find this:
DBL Webhook settings
Then open your bot on Discord Bot List and click edit. Then find this:
In the URL field paste the "Your DBL webhook:" from the dashboard and in the Authorization paste the "Your authentication". So at the end it looks like this:
Complete settings
Click save, and you are done!
Check if user has voted
GEThttps://api.ksoft.si/webhook/dbl/check
Check if user has voted for your bot.
Query Parameters
Name
Type
Description
bot
integer
Your bot's Discord ID.
user
integer
Discord user ID that you are checking.
Headers
Name
Type
Description
Authorization
string
Authentication token
List of votes
GEThttps://api.ksoft.si/webhook/dbl/list
Get a list of the votes. This can be done once every 10 seconds.