Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brussell98/mirai
The core for Mirai Bot v4 [Deprecated]
https://github.com/brussell98/mirai
bot discord discord-bot eris mirai mirai-bot modular npm plugins
Last synced: 5 days ago
JSON representation
The core for Mirai Bot v4 [Deprecated]
- Host: GitHub
- URL: https://github.com/brussell98/mirai
- Owner: brussell98
- License: mit
- Created: 2015-12-25T01:49:07.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T20:24:00.000Z (about 4 years ago)
- Last Synced: 2024-10-16T17:54:00.590Z (20 days ago)
- Topics: bot, discord, discord-bot, eris, mirai, mirai-bot, modular, npm, plugins
- Language: JavaScript
- Homepage: http://mirai.brussell.me
- Size: 2.95 MB
- Stars: 153
- Watchers: 19
- Forks: 61
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Mirai Bot Core
[![David](https://img.shields.io/david/brussell98/Mirai.svg?maxAge=2592000)](https://david-dm.org/brussell98/Mirai) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/brussell98/Mirai/master/LICENSE) [![Code Climate](https://codeclimate.com/github/brussell98/Mirai/badges/gpa.svg)](https://codeclimate.com/github/brussell98/Mirai)
[![npm](https://img.shields.io/npm/v/mirai-bot-core.svg)](https://www.npmjs.com/package/mirai-bot-core)A powerful Discord bot core using [Eris](https://github.com/abalabahaha/eris/).
#### [Documentation](http://brussell98.github.io/Mirai/index.html) | [Eris Docs](https://abal.moe/Eris/docs/index.html) | [Mirai Bot Website](http://mirai.brussell.me) | [Support me on Patreon](http://patreon.com/brussell98) | [Discord Server](https://discord.gg/rkWPSdu) | [Mirai Bot Combined Todo List](https://trello.com/b/Uw5wZLzJ)
mirai-bot-core supports advanced application monitoring with **[sentry.io](http://sentry.io)** using raven. For more information [head over to the docs](http://brussell98.github.io/Mirai/Logger.html).
## Installing
```
yarn add mirai-bot-core
``````js
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:
```js
const AbstractCommand = require('mirai-bot-core/lib/Base/AbstractCommand');class PingCommand extends AbstractCommand {
constructor() {
super();
}
}
```