enjo
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-alpha.7 • Public • Published

Neocord: Enjo

The official bot framework for the neocord discord library.

Disclaimer

Enjo is currently in alpha. Not all features are currently implemented... this should not be used in production.

Installation and Usage.

As of 09/30/2020 day/month/year, Enjo will only support node.js v12 and above.

yarn add @neocord/enjo
Basic Usage
import { Enjo, Commands, Listeners } from "enjo";
 
class MyClient extends Enjo {
  public commands = new Commands(this);
  public listeners = new Listeners(this);
}
 
const client = new MyClient();
 
client.commands.add({
  id: "ping",
  triggers: ["ping"]
}, (ctx) => {
  ctx.reply("**Pong!**");
});

Links


Licensed under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i enjo

Weekly Downloads

0

Version

0.0.0-alpha.7

License

MIT

Unpacked Size

44.5 kB

Total Files

15

Last publish

Collaborators

  • the2dperson