1.2.1 • Published 3 years ago

bfdapi.js v1.2.1

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
3 years ago

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.

1.0.1

3 years ago

2.0.2

3 years ago

1.0.0

3 years ago

1.2.1

3 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago