The official bot framework for the neocord discord library.
Enjo is currently in alpha. Not all features are currently implemented... this should not be used in production.
As of 09/30/2020 day/month/year
, Enjo will only support node.js v12 and above.
yarn add @neocord/enjo
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!**");
});
- Support Server: discord.gg/5WD9KhF
- Github: https://github.com/neo-cord/enjo
- NPM: https://npmjs.com/enjo
Licensed under the MIT License.