chore: update client info

This commit is contained in:
Elysia 2023-07-11 12:32:16 +07:00
parent 51bcf3d12e
commit 199f0f465e
3 changed files with 9 additions and 9 deletions

View File

@ -707,10 +707,9 @@ class WebSocketShard extends EventEmitter {
delete client.options.ws.properties[k];
});
const d = {
presence: client.options.presence,
...client.options.ws,
// Remove, Req by dolfies_person [Reddit]: intents: Intents.resolve(client.options.intents),
token: client.token,
// Remove: shard: [this.id, Number(client.options.shardCount)],
};
this.debug(

View File

@ -6,7 +6,7 @@ const Package = (exports.Package = require('../../package.json'));
const { Error, RangeError, TypeError } = require('../errors');
exports.defaultUA =
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) discord/1.0.9013 Chrome/108.0.5359.215 Electron/22.3.2 Safari/537.36';
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) discord/1.0.9015 Chrome/108.0.5359.215 Electron/22.3.12 Safari/537.36';
/**
* Max bulk deletable message age

View File

@ -194,22 +194,23 @@ class Options extends null {
sweepers: {},
proxy: '',
ws: {
compress: false,
// eslint-disable-next-line no-undef
// capabilities: 16381,
properties: {
os: 'Windows',
browser: 'Discord Client',
release_channel: 'stable',
client_version: '1.0.9013',
client_version: '1.0.9015',
os_version: '10.0.19045',
os_arch: 'x64',
system_locale: 'en-US',
browser_user_agent: defaultUA,
browser_version: '22.3.2',
client_build_number: 208166,
native_build_number: 33666,
browser_version: '22.3.12',
client_build_number: 211811,
native_build_number: 34515,
client_event_source: null,
},
version: 9,
compress: false,
client_state: {
guild_versions: {},
highest_last_message_id: '0',