pineafan | 63fc5e2 | 2022-08-04 22:04:10 +0100 | [diff] [blame^] | 1 | import { HaikuClient } from "jshaiku"; |
| 2 | import { Intents } from "discord.js"; |
| 3 | import config from "../config/main.json" assert {type: "json"}; |
pineafan | 6fb3e07 | 2022-05-20 19:27:23 +0100 | [diff] [blame] | 4 | |
| 5 | const client = new HaikuClient({ |
pineafan | 63fc5e2 | 2022-08-04 22:04:10 +0100 | [diff] [blame^] | 6 | intents: new Intents(32767).bitfield // This is a way of specifying all intents w/o having to type them out |
pineafan | 6fb3e07 | 2022-05-20 19:27:23 +0100 | [diff] [blame] | 7 | }, config); |
| 8 | |
| 9 | export default client; |