From 47fc954de9755ecad24b357625b94764cd43bbd1 Mon Sep 17 00:00:00 2001 From: Louis Mazin Date: Tue, 1 Jul 2025 16:07:14 +0200 Subject: [PATCH] test --- index.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 91f3022..95da6f2 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,14 @@ const update = require('./displayer.js'); const clean = require('./cleaner.js'); const { Client, GatewayIntentBits, Collection, Events, Partials } = require('discord.js'); -const client = new Client({ intents: [GatewayIntentBits.GuildMembers,GatewayIntentBits.GuildMessages,GatewayIntentBits.GuildMessageReactions,GatewayIntentBits.DirectMessageReactions,GatewayIntentBits.MessageContent] }); +const client = new Client({ intents: + [ + GatewayIntentBits.GuildMembers, + GatewayIntentBits.GuildMessages, + GatewayIntentBits.GuildMessageReactions, + ], + partials: [Partials.Message, Partials.Channel, Partials.Reaction], +}); const args = process.argv; const token = args[2].toString(); const pterodactyl = args[3].toString();