Skip to content

Repository files navigation

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:

constAzarasi=require('azarasi');constmyBot=newAzarasi({prefix: '-',token: '[Insert token here]',});// The classic "ping" commandmyBot.commands.register('ping',({ msg })=>{msg.reply('Pong!');});// Makes the bot repeat somethingmyBot.commands.register('echo',({ msg, args })=>{msg.channel.send(args);});// Connect to discordmyBot.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).

About

Useful framework to make Discord bots

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages