📘 English Readme | 📕 Readme em português
The ArunaBase is a API code base for Discord, Twitch, and other platforms bots, made in TypeScript, with the objective of making ease the bot creation, with a simple and organized structure, other than being completely free and open source.With ArunaBase create a bot capable of running commands, interact with the user, in platforms like Discord and Twitch, other than having a simple and intuitive configuration, its very fast and ease.
To install ArunaBase in your project, you need first to have NodeJS installed, then run the following command in your terminal:
npm install arunabase
yarn add arunabase
To use ArunaBase in your project, you need to import one of the classes that it exports, then create an instance of that class, passing as parameter your bot configurations as an object.
const { Discord } = require('arunabase');
// or
import { Discord } from 'arunabase';
const client = new Discord.DiscordClient({
botID: '<Bot Id>',
intents: [
Discord.Intents.Flags.MessageContent, // Optional
// ...
],
});
// use client.getCommandManager().generateCommand('Command name', Command parameters); to create a command.
// use client.getCommandManager().registerCommand(command); to register that command.
client.on('ready', () => {
console.log('Bot is ready!');
});
client.login('<Bot token>');
The ArunaBase is distributed with the GNU license. See LICENSE for more details.
Contributions is what makes the open source community an amazing place and its a wonderful place to learn, inspire and create. Any contribution you make will be very much appreciated.
- Make a Fork of the Project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
LoboMetalurgico |
SpaceFox |
Made with 💚 By Aruna™'s team.
All Reserved Rights.