Brozy123 commited on
Commit
124f23f
·
verified ·
1 Parent(s): 3dc8cab

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -29,7 +29,7 @@ const client = new Client({
29
  ],
30
  partials: [Partials.Message, Partials.Channel, Partials.Reaction],
31
  rest: {
32
- api: 'https://discord.com/api',
33
  version: '10'
34
  }
35
  });
 
29
  ],
30
  partials: [Partials.Message, Partials.Channel, Partials.Reaction],
31
  rest: {
32
+ api: `https://${networkFix.getTargetDomain()}/api`,
33
  version: '10'
34
  }
35
  });