1.1.2 • Published 2 years ago
@drgatoxd/pubertland v1.1.2
PubertLand Bot List 🤖
Recibe notificaciones cuando tu bot de Discord reciba un voto en PubertLand Bot List
Ejemplo:
const PubertLand = require('@drgatoxd/pubertland');
/**
import PubertLand from '@drgatoxd/pubertland';
*/
const client = new PubertLand('token del bot en la botlist');
client.connect();
client.on('ready', () => console.log('Conectado a PubertLand BotList'));
client.on('vote', (userId, currentVotes) => console.log(`${userId} ha votado. Ahora tengo ${currentVotes} votos`));
client.on('error', err => console.log(err));