A simple and easy-to-use Client for revolt.js
npm install userbot-revoltnpm i userbot-revolt
js
// index.js
const { Client } = require('userbot-revolt')
const client = new Client({});
client.on("ready", (msg) => {
console.log("Bot is ready!");
});
client.on("message", (msg) => {
if(msg.content.startsWith("!ping")) {
msg.reply("Pong!");
}
});
client.LoginWithEmailAndPassword("example@gmail.com", "mypassword");
``