@rjns/bot
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

install size Socket Badge

An SDK to use the rjns bot api


Usage

import { Client } from "@rjns/bot"

const client = new Client('apikey')

const [ data, errors, ratelimit ] = await client.account.servers()

console.log(ratelimit)
if (data) {
  console.log(data)
} else {
  console.log(errors)
}

/@rjns/bot/

    Package Sidebar

    Install

    npm i @rjns/bot

    Weekly Downloads

    55

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    813 kB

    Total Files

    21

    Last publish

    Collaborators

    • 0x4096