This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@yopbotlist/sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

YopBotList - SDK for YopBotList API

Links

Installation

npm install @yopbotlist/sdk

Usage

const { YopSDK } = require('@yopbotlist/sdk');

const yopApi = new YopSDK({
    apiToken: "YOUR_API_TOKEN", // Can be found at https://www.yopbotlist.me/bots/[BOT_ID]/edit
    botId: "BOT_ID"
});

yopApi.postStats({
    guildCount: 1000,
    shardCount: 1
}).then(() => {
    console.log("Posted stats to YopBotList");
}).catch((err) => {
    console.error("Error while posting stats to YopBotList", err);
});

Readme

Keywords

Package Sidebar

Install

npm i @yopbotlist/sdk

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

12.4 kB

Total Files

3

Last publish

Collaborators

  • nonolanlan1007
  • valredstone