1.0.1 • Published 2 years ago

@vipercord/viper.js v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Vipercord (Node-SDK)

Install

npm i @vipercord/viper.js

or

npm i @vipercord/viper.js@latest

Usage

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

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

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

Example

const { ViperClient } = require("@vipercord/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");