atlas-bots
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Atlas Bots (Node-SDK)


Install

npm install atlas-bots

or

npm install atlasbots@latest

Usage

const { AtlasClient } = require("atlas-bots");

const atlas = new AtlasClient({
    auth: "Api key",
    botID: "Bot id"
});

atlas.post(SERVER_COUNT, SHARD_COUNT);
atlas.log("Some Log Text so you know it Worked");

Example

const { AtlasClient } = require("atlas-bots");

const atlas = new AtlasClient({
    auth: "AUTH_TOKEN", 
    botID: "819050202508890419"
});

atlas.post(client.guilds.cache.size, 0).catch((err) => {
   atlas.atlasLogs(`Posting Stats has failed | Error: ${err}`);
});

atlas.atlasLogs("Posted Stats Successfully");

Readme

Keywords

none

Package Sidebar

Install

npm i atlas-bots

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

5.08 kB

Total Files

7

Last publish

Collaborators

  • atlasbots