npm

elisjs-helper

1.0.1 • Public • Published

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.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i elisjs-helper

    Weekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.35 kB

    Total Files

    6

    Last publish

    Collaborators

    • mr_dark