pineafan | 6fb3e07 | 2022-05-20 19:27:23 +0100 | [diff] [blame^] | 1 | import { HaikuClient } from 'jshaiku'; |
2 | import { Intents } from 'discord.js'; | ||||
3 | import config from '../config/main.json' assert {type: 'json'}; | ||||
4 | |||||
5 | const 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 | |||||
9 | export default client; |