blob: 0ce61f1166d5fcea567cda264c5ddd2f7ce7f33a [file] [log] [blame]
pineafan63fc5e22022-08-04 22:04:10 +01001import { HaikuClient } from "jshaiku";
2import { Intents } from "discord.js";
Skyler Grey75ea9172022-08-06 10:22:23 +01003import config from "../config/main.json" assert { type: "json" };
pineafan6fb3e072022-05-20 19:27:23 +01004
Skyler Grey75ea9172022-08-06 10:22:23 +01005const client = new HaikuClient(
6 {
7 intents: new Intents(32767).bitfield // This is a way of specifying all intents w/o having to type them out
8 },
9 config
10);
pineafan6fb3e072022-05-20 19:27:23 +010011
Skyler Grey75ea9172022-08-06 10:22:23 +010012export default client;