enjo
v0.0.0-alpha.7
Published
The official bot framework for the neocord discord library.
Downloads
5
Readme
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
- Support Server: discord.gg/5WD9KhF
- Github: https://github.com/neo-cord/enjo
- NPM: https://npmjs.com/enjo