This commit is contained in:
Arthur Puechberty
2026-01-18 15:08:55 +01:00
parent 6de9768e3f
commit 3f1f3ba40d
25 changed files with 1994 additions and 3 deletions
+10 -2
View File
@@ -1,8 +1,16 @@
const db = require("./db");
const { Client, GatewayIntentBits, Events } = require("discord.js");
const { Client, GatewayIntentBits, Events, Partials } = require("discord.js");
const client = new Client({ intents: Object.values(GatewayIntentBits) });
const client = new Client({
intents: Object.values(GatewayIntentBits),
partials: [
Partials.Message,
Partials.Channel,
Partials.GuildMember,
Partials.User
]
});
require("./loader/events.js")(client);
require("./loader/commands.js")(client);