discord-br.js
v1.3.8
Published
Um Wrapper que facilita o contato com a API do discord!
Downloads
113
Maintainers
Readme
Sobre
Discord-BR é uma biblioteca criada para facilitar a conexão com a API do discord por meio do uso do Node.js
Instalação
Use seu gerenciador de pacotes para instalar a biblioteca
yarn add discord-br.js
Ou
npm install discord-br.js
Exemplo
const { Client } = require("discord-br.js");
const cliente = new Client();
cliente.logar("TOKEN")
cliente.on("mensagem", async(message) => {
if(message.conteudo === "!ping"){
message.responder("Pong!")
}
})