@vipercord/viper.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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");

Readme

Keywords

none

Package Sidebar

Install

npm i @vipercord/viper.js

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.04 kB

Total Files

7

Last publish

Collaborators

  • kyekiller