The powerful and flexible library for creating bots and automating work with the Yurba API.
Node.js 20 or newer is required.
npm install yurba.js
yarn add yurba.js
pnpm add yurba.js
bun add yurba.js
import { Client } from "yurba.js";
const client = new Client('TOKEN');
client.registerCommand('hi', { name: 'string' }, (message, args) => {
message.reply(`Hello, ${args.name}!`);
});
client.on('ready', () => {
console.log('Ready!');
});
client.init();
const { Client } = require("yurba.js");
const client = new Client('TOKEN');
client.registerCommand('hi', { name: 'string' }, (message, args) => {
message.reply(`Hello, ${args.name}!`);
});
client.on('ready', () => {
console.log('Ready!');
});
client.init();
Want to help make yurba.js better?
Please make sure to follow our coding style and test your changes before submitting.
Need assistance?