fix: ws identify
This commit is contained in:
parent
199f0f465e
commit
9097cafb2e
@ -712,6 +712,8 @@ class WebSocketShard extends EventEmitter {
|
|||||||
token: client.token,
|
token: client.token,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
delete d.version;
|
||||||
|
|
||||||
this.debug(
|
this.debug(
|
||||||
`[IDENTIFY] Shard ${this.id}/${client.options.shardCount} with intents: ${Intents.resolve(
|
`[IDENTIFY] Shard ${this.id}/${client.options.shardCount} with intents: ${Intents.resolve(
|
||||||
client.options.intents,
|
client.options.intents,
|
||||||
|
@ -220,6 +220,7 @@ class Options extends null {
|
|||||||
private_channels_version: '0',
|
private_channels_version: '0',
|
||||||
api_code_version: 0,
|
api_code_version: 0,
|
||||||
},
|
},
|
||||||
|
version: 9,
|
||||||
},
|
},
|
||||||
http: {
|
http: {
|
||||||
agent: {},
|
agent: {},
|
||||||
|
Loading…
Reference in New Issue
Block a user