Skip to content

NotKyoyo/bfdapi.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A node module for interacting with Bots For Discord's api


Any problem?

Feel free to create an issue on this repository or for faster response, join this discord server.

Some things to Note

  • This module doesn't support auto posting features.
  • This module doesn't support handling webhooks.

Examples:

Posting Server Count

const BFDAPI = require("bfdapi.js");
const api = new BFDAPI("Client ID", "API Token");

api.postServerCount(25).then((res) => console.log(res));
// if successful: { message: 'Server count successfully updated.', code: 200 }

// if failed, it will throw an error

Get Bot

const BFDAPI = require("bfdapi.js");
const api = new BFDAPI("Client ID");

api.getBot("Client ID").then((res) => console.log(res));
// if successful: {<Object>}

// if failed, it will throw an error

Contributions

Fork the repo, add some codes, then pull the new codes, and if it's good. I'll merge it will the main branch.

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy