mirror of
https://github.com/arthur-pbty/LazyBot.git
synced 2026-06-06 22:41:40 +02:00
add logs
This commit is contained in:
+10
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user