Installation
npm install bfd-api
Usage
Example of posting a bots servercount to the API
const BFD = ;const bfd = 'Your Token';bfd;
The api wrapper supports getting a bots info!
const BFD = ;const bfd = 'Your Token';bfd;
Note: The wrapper automatically parses the JSON data!
The Api Wrapper Supports Getting All Bots info Too!
const BFD = ;const bfd = 'Your Token';bfd;
Note: The wrapper automatically parses the JSON data!
To get a bot widget!
const BFD = ;const bfd = 'Your Token';bfd;
If You Want to resize
const BFD = ;const bfd = 'Your Token';bfd;
To get a verfiyed or not verfiyed!
const BFD = ;const bfd = 'Your Token';bfd;
It will return true
if verifyed , if it not verifyed it will return false
The Api Wrapper Supports Getting Verfied Bot! If bot not verfied it will return false if verifed returns true
const BFD = ;const bfd = 'Your Token';const info = await bfd; console //now it will log to console If bot not verfied false , If verfiyed true
Enjoy the wrapper!