Skip to content

paring-chan/uniquebots-js-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uniquebots JS SDK

설치

  • npm에 퍼블리시 된 버전은 현재 이용 불가능합니다.
# npm
npm install pikokr/uniquebots-js-sdk
# yarn
yarn add pikokr/uniquebots-js-sdk

UniqueClient

Typescript

import { UniqueClient } from "@uniquebots/sdk"

const client = new UniqueClient({
  token: "uniquebots token",
  updateInverval: 1000 * 60 * 30,
})

client.login("token")

Javascript

const { UniqueClient } = require("@uniquebots/sdk")

const client = new UniqueClient({
  token: "uniquebots token",
  updateInverval: 1000 * 60 * 30,
})

client.login("token")

UniqueBot

Typescript

import { UniqueBot } from "@uniquebots/sdk"

const client = new UniqueBot("uniquebots token")

client.updateGuilds(123 /*Your guilds count*/)

Javascript(CommonJS)

const { UniqueBot } = require("@uniquebots/sdk")

const client = new UniqueBot("uniquebots token")

client.updateGuilds(123 /*Your guilds count*/)

UniqueBots

Javascript(CommonJS)

const { UniqueBots } = require("@uniquebots/sdk")

// get all bots
await UniqueBots.getAllBots()

// get bot by id

await UniqueBots.getBot("id")

Typescript

import { UniqueBots } from "@uniquebots/sdk"

// get all bots
await UniqueBots.getAllBots()

// get bot by id

await UniqueBots.getBot("id")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published