yurba.js
v1.0.0-next.12
Published
The powerful library for creating bots and integrating with the Yurba API
Maintainers
Readme
About
The powerful and flexible library for creating bots and automating work with the Yurba API.
Install
Node.js 20 or newer is required.
npm install yurba.js
yarn add yurba.js
pnpm add yurba.js
bun add yurba.jsExample usage
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();Links
Contributing
Want to help make yurba.js better?
- Found a bug? Open an issue.
- Have an idea? Start a discussion.
- Want to contribute code? Fork the repository and submit a pull request.
Please make sure to follow our coding style and test your changes before submitting.
Getting Help
Need assistance?
- Check the documentation first.
- Ask questions in our Chat.
- Browse existing issues and discussions.
