@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/client.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jnode/discord",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Simple Discord API package for Node.js.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
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 ?? 0b11111111111111111000110011;
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