March 7th 2022-03-30 18:27:20 +07:00
parent ab113790e3
commit c8598a36d5

View File

@ -487,8 +487,7 @@ class WebSocketShard extends EventEmitter {
() => {
this.debug(
`Shard ${hasGuildsIntent ? 'did' : 'will'} not receive any more guild packets` +
`${hasGuildsIntent ? ` in ${waitGuildTimeout} ms` : ''}.\nUnavailable guild count: ${
this.expectedGuilds.size
`${hasGuildsIntent ? ` in ${waitGuildTimeout} ms` : ''}.\nUnavailable guild count: ${this.expectedGuilds.size
}`,
);
@ -610,7 +609,7 @@ class WebSocketShard extends EventEmitter {
// Clone the identify payload and assign the token and shard info
const d = {
...client.options.ws,
intents: Intents.resolve(client.options.intents),
// intents: Intents.resolve(client.options.intents), // Remove, Req by dolfies_person [Reddit]
token: client.token,
shard: [this.id, Number(client.options.shardCount)],
};