Skip to content
Useful framework to make Discord bots
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode First public commit Dec 2, 2016
docs Erradicate deprecated API usage Oct 14, 2018
example AudioPlayer May 21, 2017
src Erradicate deprecated API usage Oct 14, 2018
.gitignore
.npmignore First Alpha Jun 21, 2017
LICENSE First public commit Dec 2, 2016
README.md
jsconfig.json First public commit Dec 2, 2016
package-lock.json
package.json 2.1.2 Oct 14, 2018

README.md

Azarasi Framework

A Discord bot framework built on top of Discord.js to make bot development easier (formerly called FocaBotCore).

npm install --save azarasi

Currently, it provides:

  • A command system with built-in prefix and role checking.
  • A module system with hot-reloading.
  • Basic permission system.
  • Persistent data store (powered by Gun)
  • Localization system
  • Configuration system (per-guild).
  • Built-in audio player (requires FFMPEG).

Example

This is a simple, single-file bot made using Azarasi:

const Azarasi = require('azarasi');

const myBot = new Azarasi({
  prefix: '-',
  token: '[Insert token here]',
});

// The classic "ping" command
myBot.commands.register('ping', ({ msg }) => {
  msg.reply('Pong!');
});

// Makes the bot repeat something
myBot.commands.register('echo', ({ msg, args }) => {
  msg.channel.send(args);
});

// Connect to discord
myBot.establishConnection();

For a more complex example, check out the example directory.

Bots Using Azarasi Framework

If you want to add your bot to the list, feel free to make a PR or contact me on Discord (TheBITLINK#3141).

You can’t perform that action at this time.