Spaces:
Runtime error
Runtime error
Update index.js
Browse files
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();
|