This package has been deprecated

Author message:

Use @skybl/sbl em vez dessa.

skybl

1.1.2 • Public • Published

Sky Botlist - NPM oficial

Requisitos

  • Ter um bot aprovado em nossa plataforma
  • Gerar um token pelo /api

Como usar

  • Por enquanto ela é só de websockets. Em um futuro próximo irá também ter rotas da api.

Evento Ao Votar:

const sbl = require("@skybl/sbl")

const Sbl = new sbl("Seu token pessoal","Id do seu bot")
Sbl.on("voted",async(user_id)=>{
  console.log(`Alguém com o id ${user_id} votou em meu bot`)
})
Sbl.on("ready",()=>{
  console.log("Conectou ao websocket")
})

Readme

Keywords

none

Package Sidebar

Install

npm i skybl

Weekly Downloads

1

Version

1.1.2

License

ISC

Unpacked Size

15.1 kB

Total Files

4

Last publish

Collaborators

  • skybl-host