feat: update discord client UA & buildNumber

This commit is contained in:
Elysia 2023-03-28 15:46:09 +07:00
parent 84287d5403
commit 8688c67f10
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ const Package = (exports.Package = require('../../package.json'));
const { Error, RangeError, TypeError } = require('../errors');
// #88: https://jnrbsn.github.io/user-agents/user-agents.json
exports.defaultUA =
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) discord/1.0.9010 Chrome/91.0.4472.164 Electron/13.6.6 Safari/537.36';
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) discord/1.0.9012 Chrome/108.0.5359.215 Electron/22.3.2 Safari/537.36';
/**
* Max bulk deletable message age

View File

@ -197,12 +197,12 @@ class Options extends null {
os: 'Windows',
browser: 'Discord Client',
release_channel: 'stable',
client_version: '1.0.9011',
client_version: '1.0.9012',
os_version: '10.0.22621',
os_arch: 'x64',
system_locale: 'en-US',
client_build_number: 181832,
native_build_number: 30306,
client_build_number: 183813,
native_build_number: 30921,
client_event_source: null,
design_id: 0,
},