chore: readme

This commit is contained in:
March 7th
2022-11-27 13:53:43 +07:00
parent f8a8ac7fc6
commit 96ac2f95dd
3 changed files with 6 additions and 4 deletions

View File

@@ -358,8 +358,6 @@ class WebSocketManager extends EventEmitter {
if (packet && PacketHandlers[packet.t]) {
PacketHandlers[packet.t](this.client, packet, shard);
} else if (packet) {
/* Debug mode */
// console.log(`Unhandled packet: ${packet.t}`, packet);
/**
* Emitted whenever a packet isn't handled.
* @event Client#unhandledPacket

View File

@@ -180,6 +180,7 @@ class Options extends null {
proxy: '',
ws: {
compress: false,
// https://discord-user-api.cf/api/v1/properties/web
properties: {
os: 'Windows',
browser: 'Chrome',
@@ -192,10 +193,10 @@ class Options extends null {
referrer_current: 'https://discord.com/channels/@me',
referring_domain_current: 'discord.com',
release_channel: 'stable',
client_build_number: 160480,
client_build_number: 160645,
client_event_source: null,
},
// ? capabilities: 4093,
// ! capabilities: 4093,
version: 9,
client_state: {
api_code_version: 0,