13 lines
354 B
TypeScript
13 lines
354 B
TypeScript
import { GatewayIntentBits, Partials } from "discord.js";
|
|
import { CBClient } from "./cbclient";
|
|
import { db } from "./database";
|
|
|
|
const Client = new CBClient({
|
|
intents: [
|
|
GatewayIntentBits.MessageContent,
|
|
GatewayIntentBits.Guilds,
|
|
GatewayIntentBits.GuildMessages,
|
|
GatewayIntentBits.DirectMessages
|
|
],
|
|
partials: [Partials.Channel]
|
|
}, db); |