1.0.9 • Published 1 year ago

@viperbotlist/viper.js v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Viper Bot List (Node-SDK)

Install

npm i @viperbotlist/viper.js

or

npm i @viperbotlist/viper.js@latest

Usage

const { ViperClient } = require("@viperbotlist/viper.js");

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

viper.post(SERVER_COUNT,).catch((err) => {
viper.viperLogs(`Posting Stats has failed | Error: ${err}`);
});
viper.viperLogs("Some Log Text so you know it Worked");

Example

const { ViperClient } = require("@viperbotlist/viper.js");

const viper = new ViperClient({
    auth: "AUTH_TOKEN", 
    botID: "819050202508890419"
});

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

viper.viperLogs("Posted Stats Successfully");
1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago