From 8688c67f106163e8e077c75bf76020cb1b173348 Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Tue, 28 Mar 2023 15:46:09 +0700 Subject: [PATCH] feat: update discord client UA & buildNumber --- src/util/Constants.js | 2 +- src/util/Options.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/Constants.js b/src/util/Constants.js index 0942fdc..183965c 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -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 diff --git a/src/util/Options.js b/src/util/Options.js index 70e2e33..50f872b 100644 --- a/src/util/Options.js +++ b/src/util/Options.js @@ -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, },