ClarityMoe/hibiki

View on GitHub
example/typescript/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
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!");
});