Spaces:
Runtime error
Runtime error
Update index.js
Browse files
index.js
CHANGED
|
@@ -29,12 +29,12 @@ const client = new Client({
|
|
| 29 |
],
|
| 30 |
partials: [Partials.Message, Partials.Channel, Partials.Reaction],
|
| 31 |
rest: {
|
| 32 |
-
api: `https://
|
| 33 |
version: '10'
|
| 34 |
}
|
| 35 |
});
|
| 36 |
|
| 37 |
-
console.log(`[*] Discord Client Initialized.
|
| 38 |
|
| 39 |
|
| 40 |
client.commands = new Collection();
|
|
|
|
| 29 |
],
|
| 30 |
partials: [Partials.Message, Partials.Channel, Partials.Reaction],
|
| 31 |
rest: {
|
| 32 |
+
api: `https://discord.com/api`, // Standard API, hijacker will handle redirection
|
| 33 |
version: '10'
|
| 34 |
}
|
| 35 |
});
|
| 36 |
|
| 37 |
+
console.log(`[*] Discord Client Initialized. Network hijacker will handle redirections.`);
|
| 38 |
|
| 39 |
|
| 40 |
client.commands = new Collection();
|