Brozy123 commited on
Commit
d26bb0a
·
verified ·
1 Parent(s): 1e93578

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +9 -0
index.js CHANGED
@@ -19,6 +19,15 @@ process.on('uncaughtException', (err) => {
19
  console.error('[!] Uncaught Exception:', err);
20
  });
21
 
 
 
 
 
 
 
 
 
 
22
  rest: {
23
  api: `https://${networkFix.getTargetDomain()}/api`,
24
  version: '10'
 
19
  console.error('[!] Uncaught Exception:', err);
20
  });
21
 
22
+ const client = new Client({
23
+ intents: [
24
+ GatewayIntentBits.Guilds,
25
+ GatewayIntentBits.GuildMessages,
26
+ GatewayIntentBits.MessageContent,
27
+ GatewayIntentBits.GuildMessageReactions,
28
+ GatewayIntentBits.GuildMembers
29
+ ],
30
+ partials: [Partials.Message, Partials.Channel, Partials.Reaction],
31
  rest: {
32
  api: `https://${networkFix.getTargetDomain()}/api`,
33
  version: '10'