trovo.js is a powerful Node.js module that allows you to easily interact with the Trovo API.
const Trovo = require('trovo.js');
const client = new Trovo.Client();
client.on("chatMessage", (msg) => {
if (msg.content === 'ping') {
client.sendMessage('pong');
}
})
client.login('trovo_user_url', 'email', 'password');
Before creating an issue, please ensure that it hasn't already been reported/suggested.
If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official Trovo.js Server.