1.1.2 • Published 2 months ago

skybl v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

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")
})
1.1.2

2 months ago

1.1.1

2 months ago

1.0.0

2 months ago

0.0.1

4 years ago