userbot-revolt
v1.4.1
Published
A simple and easy-to-use Client for revolt.js
Maintainers
Readme
Userbot Revolt
A simple and easy-to-use Client for revolt.js
Installation
userbot-revolt can be installed using one of the following commands:
NPM
npm i userbot-revolt
Examples
Here's how to write a basic command in userbot-revolt
// 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("[email protected]", "mypassword");
