arunabase
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-ALPHA.5 • Public • Published

📘 English Readme | 📕 Readme em português

📖 About

    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.


💻 Installing

    To install ArunaBase in your project, you need first to have NodeJS installed, then run the following command in your terminal:

NPM:

npm install arunabase

Yarn:

yarn add arunabase

⌨ Use example

    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.

🗨 Use example with Discord


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>');

📄 License


    The ArunaBase is distributed with the GNU license. See LICENSE for more details.


🤝 Contributing


    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.

  1. Make a Fork of the Project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

😉 Authors



LoboMetalurgico

SpaceFox

Made with 💚 By Aruna™'s team.

All Reserved Rights.

Readme

Keywords

Package Sidebar

Install

npm i arunabase

Weekly Downloads

1

Version

1.0.0-ALPHA.5

License

GPL-3.0

Unpacked Size

144 kB

Total Files

93

Last publish

Collaborators

  • lobometalurgico