example/typescript/index.ts
import { Shard as Hibiki } from "../../";
const bot: Hibiki = 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!");
});