mirror of https://github.com/clickscodes/nucleus
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
502 B
15 lines
502 B
import { HaikuClient } from 'jshaiku';
|
|
import { Intents } from 'discord.js';
|
|
import config from './config/main.json' assert {type: 'json'};
|
|
import { Logger } from './utils/log.js';
|
|
const client = new HaikuClient({
|
|
intents: new Intents(32767).bitfield, // This is a way of specifying all intents w/o having to type them out
|
|
}, config);
|
|
|
|
await client.registerCommandsIn("./commands");
|
|
await client.registerEventsIn("./events");
|
|
|
|
client.logger = new Logger()
|
|
client.verify = {}
|
|
|
|
await client.login(); |