blob: 6bc97b73b343a48f525721db34ca8e4a82e3047f [file] [log] [blame]
import { HaikuClient } from 'jshaiku';
import { Intents } from 'discord.js';
import config from './config.json' assert {type: 'json'};
const client = new HaikuClient({
intents: new Intents(32767).bitfield, // This is a way of specifying all intents w/o having to type them out
}, config);
await client.registerCommandsIn("./commands");
await client.login();