Information
dbi.js is an API wrapper for Discord Bot Index using Node.JS to make it easier to use it's API.
Installation
Requirements
Run yarn add dbi.js
or npm i dbi.js
to install, examples are below
Example usage
Posting your bot's guilds
const Client: dbiClient = ; // Declaring dbi.jsconst Client = '< Your DBI Token Here >' id: '< Your Bot\'s ID Here >' ; // Creating your DBI clientClient; // Posting your guild count to DBI and logging all results
More examples can be found inside of the /examples
directory