@jnode/discord 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/client.js +1 -1
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -36,7 +36,7 @@ class DiscordClient {
|
|
|
36
36
|
this.apiThrowError = options.apiThrowError ?? true; //throw error while api status code is not 2xx
|
|
37
37
|
|
|
38
38
|
//client gateway options
|
|
39
|
-
this.gatewayIntents = options.gatewayIntents ??
|
|
39
|
+
this.gatewayIntents = options.gatewayIntents ?? 0b11001100011111111111111111;
|
|
40
40
|
this.gatewayUrl = options.gatewayUrl ?? 'wss://gateway.discord.gg';
|
|
41
41
|
this.gatewayOriginalUrl = this.gatewayUrl;
|
|
42
42
|
this.gatewayReconnectDelay = options.gatewayReconnectDelay ?? 5000; //less than 0 to disable auto reconnect
|