Mirai Bot Core

Discord server David GitHub license Code Climate npm

A powerful Discord bot core using Eris.

Documentation | Eris Docs | Mirai Bot Website | Support me on Patreon | Discord Server | Mirai Bot Combined Todo List

mirai-bot-core supports advanced application monitoring with sentry.io using raven. For more information head over to the docs.

Installing

yarn add mirai-bot-core
const Mirai = require('mirai-bot-core');
const bot = new Mirai(config);

Abstract Classes

Abstract classes are provided to ensure you have the required methods. They can be accessed like so:

const AbstractCommand = require('mirai-bot-core/lib/Base/AbstractCommand');

class PingCommand extends AbstractCommand {
    constructor() {
        super();
    }
}