blob: 1795cfae6023d9b720446c8f197b80fe1490058e [file] [log] [blame]
pineafan3a02ea32022-08-11 21:35:04 +01001// @ts-expect-error
pineafan63fc5e22022-08-04 22:04:10 +01002import { HaikuClient } from "jshaiku";
3import { Intents } from "discord.js";
Skyler Grey75ea9172022-08-06 10:22:23 +01004import config from "../config/main.json" assert { type: "json" };
pineafan6fb3e072022-05-20 19:27:23 +01005
Skyler Grey75ea9172022-08-06 10:22:23 +01006const client = new HaikuClient(
7 {
8 intents: new Intents(32767).bitfield // This is a way of specifying all intents w/o having to type them out
9 },
10 config
11);
pineafan6fb3e072022-05-20 19:27:23 +010012
Skyler Grey75ea9172022-08-06 10:22:23 +010013export default client;