apps/bot/src/client.ts (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import { Client, GatewayIntentBits } from "discord.js";
import { Kitten } from "@purrkit/router";
import { KLogger, logger } from "$/logger";
export const client = new Client({
intents: [
GatewayIntentBits.DirectMessages,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.Guilds,
GatewayIntentBits.MessageContent,
],
});
export const kitten = new Kitten(client, {
logger: new KLogger(),
});
|