Skip to content

brussell98/Mirai

Repository files navigation

Mirai Bot Core

Discord server David GitHub license Code Climate npm

A powerful Discord bot core using Eris.

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();
	}
}