arunabase
v1.0.0-ALPHA.6
Published
An API made to help developers what works with discord and twitch.
Downloads
84
Readme
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.
NPM:
npm install arunabase
Yarn:
yarn add arunabase
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