chore: update buildNumber
This commit is contained in:
parent
609c9acc78
commit
8898a91ed0
@ -425,7 +425,7 @@ class WebSocketShard extends EventEmitter {
|
||||
this.emit(ShardEvents.READY);
|
||||
|
||||
this.sessionId = packet.d.session_id;
|
||||
this.expectedGuilds = new Set(packet.d.guilds.filter(d => d.unavailable).map(d => d.id));
|
||||
this.expectedGuilds = new Set(packet.d.guilds.filter(d => d?.unavailable == true).map(d => d.id));
|
||||
this.status = Status.WAITING_FOR_GUILDS;
|
||||
this.debug(`[READY] Session ${this.sessionId}.`);
|
||||
this.lastHeartbeatAcked = true;
|
||||
|
@ -69,4 +69,6 @@ Intents.FLAGS = {
|
||||
AUTO_MODERATION_EXECUTION: 1 << 21,
|
||||
};
|
||||
|
||||
Intents.ALL = Object.values(Intents.FLAGS).reduce((all, p) => all | p, 0);
|
||||
|
||||
module.exports = Intents;
|
||||
|
@ -1,6 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
const JSONBig = require('json-bigint');
|
||||
const Intents = require('./Intents');
|
||||
const { randomUA } = require('../util/Constants');
|
||||
/**
|
||||
* Rate limit data
|
||||
@ -167,7 +168,7 @@ class Options extends null {
|
||||
messageCacheLifetime: 0,
|
||||
messageSweepInterval: 0,
|
||||
invalidRequestWarningInterval: 0,
|
||||
intents: 131071,
|
||||
intents: Intents.ALL,
|
||||
partials: ['USER', 'CHANNEL', 'GUILD_MEMBER', 'MESSAGE', 'REACTION', 'GUILD_SCHEDULED_EVENT'], // Enable the partials
|
||||
restWsBridgeTimeout: 5_000,
|
||||
restRequestTimeout: 15_000,
|
||||
@ -195,7 +196,7 @@ class Options extends null {
|
||||
referrer_current: '',
|
||||
referring_domain_current: '',
|
||||
release_channel: 'stable',
|
||||
client_build_number: 163275,
|
||||
client_build_number: 165485,
|
||||
client_event_source: null,
|
||||
},
|
||||
// ! capabilities: 4093,
|
||||
|
Loading…
Reference in New Issue
Block a user