1.0.1 • Published 3 years ago
elisjs-helper v1.0.1
elisjs-helper
Setup
const elisjs = require("@aloima/elisjs")
const client = elisjs.create("bot token", {
compress: true // default value is false, enables zlib-stream parsing.
})
const elisHelper = require("./src/index")
const helper = new elisHelper.client(client)
client.events.ready = (() => {
console.log("bot online")
})
client.login()
Examples
Command Handler
helper.createHandler({prefix:"!", folder:__dirname + "/commands"})
Support server
You can take support in this server in #elisjs-support.