chore: update client info
This commit is contained in:
parent
51bcf3d12e
commit
199f0f465e
@ -707,10 +707,9 @@ class WebSocketShard extends EventEmitter {
|
|||||||
delete client.options.ws.properties[k];
|
delete client.options.ws.properties[k];
|
||||||
});
|
});
|
||||||
const d = {
|
const d = {
|
||||||
|
presence: client.options.presence,
|
||||||
...client.options.ws,
|
...client.options.ws,
|
||||||
// Remove, Req by dolfies_person [Reddit]: intents: Intents.resolve(client.options.intents),
|
|
||||||
token: client.token,
|
token: client.token,
|
||||||
// Remove: shard: [this.id, Number(client.options.shardCount)],
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.debug(
|
this.debug(
|
||||||
|
@ -6,7 +6,7 @@ const Package = (exports.Package = require('../../package.json'));
|
|||||||
const { Error, RangeError, TypeError } = require('../errors');
|
const { Error, RangeError, TypeError } = require('../errors');
|
||||||
|
|
||||||
exports.defaultUA =
|
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
|
* Max bulk deletable message age
|
||||||
|
@ -194,22 +194,23 @@ class Options extends null {
|
|||||||
sweepers: {},
|
sweepers: {},
|
||||||
proxy: '',
|
proxy: '',
|
||||||
ws: {
|
ws: {
|
||||||
compress: false,
|
// eslint-disable-next-line no-undef
|
||||||
|
// capabilities: 16381,
|
||||||
properties: {
|
properties: {
|
||||||
os: 'Windows',
|
os: 'Windows',
|
||||||
browser: 'Discord Client',
|
browser: 'Discord Client',
|
||||||
release_channel: 'stable',
|
release_channel: 'stable',
|
||||||
client_version: '1.0.9013',
|
client_version: '1.0.9015',
|
||||||
os_version: '10.0.19045',
|
os_version: '10.0.19045',
|
||||||
os_arch: 'x64',
|
os_arch: 'x64',
|
||||||
system_locale: 'en-US',
|
system_locale: 'en-US',
|
||||||
browser_user_agent: defaultUA,
|
browser_user_agent: defaultUA,
|
||||||
browser_version: '22.3.2',
|
browser_version: '22.3.12',
|
||||||
client_build_number: 208166,
|
client_build_number: 211811,
|
||||||
native_build_number: 33666,
|
native_build_number: 34515,
|
||||||
client_event_source: null,
|
client_event_source: null,
|
||||||
},
|
},
|
||||||
version: 9,
|
compress: false,
|
||||||
client_state: {
|
client_state: {
|
||||||
guild_versions: {},
|
guild_versions: {},
|
||||||
highest_last_message_id: '0',
|
highest_last_message_id: '0',
|
||||||
|
Loading…
Reference in New Issue
Block a user