Top.gg
THIS IS A FORK OF THE OFFICIAL dblapi.js PACKAGE FOR PEOPLE
Installation
npm install top.gg
Documentation
Documentation can be found here
Example
Example of posting server count with supported libraries (Discord.js and Eris)
const Discord = ;const client = ;const DBL = ;const dbl = 'Your top.gg token' client; // Optional eventsdbl dbl
Example of using webhooks to receive vote updates
const DBL = ;const dbl = yourDBLTokenHere webhookPort: 5000 webhookAuth: 'password' ;dblwebhook;dblwebhook;