Newline Pending Merge

    kiriclient

    1.1.2 • Public • Published

    Kiri Client

    KiriClient is a light weight wrapper around Discord.js, providing easy built in command handling, as well as optional MongoDB integration.

    The KiriClient command handler recursively searches all files inside the commands folder provided, allowing complex orginization.

    Client

    The client inherits all base discordjs properties.

    const Kiri = require("kiriclient");
     
    const client = new Kiri.KiriClient({directory: __dirname});
     
    client.on("message", (msg) => {
        client.handle(msg)
    });
     
    client.login(token)

    KiriClient options

    directory : required, defines the central file where the commands folder will be located.

    prefix : the bot's prefix. Defaults as "!"

    cmddir : where the command files will be located. Defaults as "/commands"

    Keywords

    none

    Install

    npm i kiriclient

    DownloadsWeekly Downloads

    1

    Version

    1.1.2

    License

    ISC

    Unpacked Size

    8.65 kB

    Total Files

    6

    Last publish

    Collaborators

    • blairspalace