ClarityMoe/hibiki

View on GitHub
example/javascript/index.js

Summary

Maintainability
A
0 mins
Test Coverage
const Hibiki = require("../../").Shard;

const bot = new Hibiki("", {
    ext: {
        extensionDir: "./commands/"
    },
    hibiki: {
        owners: [
            ""
        ],
        prefixes: [
            "!~"
        ]
    },
    postgres: {
        database: "hibiki",
        user: "user"
    },
    ws: {
        host: "localhost"
    }
});

bot.connect();

bot.on("ready", () => {
    bot.init();
    console.log("Ready!");
});