0.0.0-alpha.7 • Published 4 years ago

enjo v0.0.0-alpha.7

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

The official bot framework for the neocord discord library.

Disclaimer

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