
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
npm install bfd-api
Example of posting a bots servercount to the API
const BFD = require("bfd-api");
const bfd = new BFD('Your Token');
bfd.postCount('your server count', 'your bot id');
The api wrapper supports getting a bots info!
const BFD = require("bfd-api");
const bfd = new BFD('Your Token');
bfd.getBot('bot-id');
Note: The wrapper automatically parses the JSON data!
The Api Wrapper Supports Getting All Bots info Too!
const BFD = require("bfd-api");
const bfd = new BFD('Your Token');
bfd.getBots();
Note: The wrapper automatically parses the JSON data!
To get a bot widget!
const BFD = require("bfd-api");
const bfd = new BFD('Your Token');
bfd.getBotEmbed('bot-id');
###If You Want to resize
const BFD = require("bfd-api");
const bfd = new BFD('Your Token');
bfd.getBotEmbed('bot-id', 'size');
To get a verfiyed or not verfiyed!
const BFD = require("bfd-api");
const bfd = new BFD('Your Token');
bfd.hasVerified('bot-id');
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 = require("bfd-api");
const bfd = new BFD('Your Token');
const info = await bfd.hasVerified('Bot ID (that will we get verifed or not)');
console.log(info) //now it will log to console If bot not verfied false , If verfiyed true
Enjoy the wrapper!
FAQs
A API Wrapper for botsfordiscord.com API
The npm package bfd-api receives a total of 50 weekly downloads. As such, bfd-api popularity was classified as not popular.
We found that bfd-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.