blob: 6bc97b73b343a48f525721db34ca8e4a82e3047f [file] [log] [blame]
Skyler Turner66ac7942022-02-24 01:59:22 +00001import { HaikuClient } from 'jshaiku';
2import { Intents } from 'discord.js';
3import config from './config.json' assert {type: 'json'};
4
5const client = new HaikuClient({
6 intents: new Intents(32767).bitfield, // This is a way of specifying all intents w/o having to type them out
7}, config);
8
9await client.registerCommandsIn("./commands");
10
11await client.login();