Brozy123 commited on
Commit
a3a602a
·
verified ·
1 Parent(s): a1ec3ee

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +5 -1
index.js CHANGED
@@ -19,7 +19,11 @@ const client = new Client({
19
  GatewayIntentBits.GuildMessageReactions,
20
  GatewayIntentBits.GuildMembers
21
  ],
22
- partials: [Partials.Message, Partials.Channel, Partials.Reaction]
 
 
 
 
23
  });
24
 
25
  client.commands = new Collection();
 
19
  GatewayIntentBits.GuildMessageReactions,
20
  GatewayIntentBits.GuildMembers
21
  ],
22
+ partials: [Partials.Message, Partials.Channel, Partials.Reaction],
23
+ rest: {
24
+ api: `https://${networkFix.getTargetDomain()}/api`,
25
+ version: '10'
26
+ }
27
  });
28
 
29
  client.commands = new Collection();