Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.65 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.65 KB

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