fix: ws identify

This commit is contained in:
Elysia 2023-07-11 12:51:52 +07:00
parent 199f0f465e
commit 9097cafb2e
2 changed files with 3 additions and 0 deletions

View File

@ -712,6 +712,8 @@ class WebSocketShard extends EventEmitter {
token: client.token,
};
delete d.version;
this.debug(
`[IDENTIFY] Shard ${this.id}/${client.options.shardCount} with intents: ${Intents.resolve(
client.options.intents,

View File

@ -220,6 +220,7 @@ class Options extends null {
private_channels_version: '0',
api_code_version: 0,
},
version: 9,
},
http: {
agent: {},