example/javascript/index.js
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!");
});