chore: release v2.14.3

(Soundboard, VoiceChannelEffect) there will be soon 💀
This commit is contained in:
Elysia 2023-06-01 18:29:36 +07:00
parent 87fb38c82c
commit 2e0889459c
4 changed files with 3 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "discord.js-selfbot-v13", "name": "discord.js-selfbot-v13",
"version": "2.14.2", "version": "2.14.3",
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]", "description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
"main": "./src/index.js", "main": "./src/index.js",
"types": "./typings/index.d.ts", "types": "./typings/index.d.ts",

View File

@ -700,10 +700,6 @@ class WebSocketShard extends EventEmitter {
this.status = Status.IDENTIFYING; this.status = Status.IDENTIFYING;
// Clone the identify payload and assign the token and shard info
client.options.ws.properties = Object.assign(client.options.ws.properties, {
browser_user_agent: client.options.http.headers['User-Agent'],
});
Object.keys(client.options.ws.properties) Object.keys(client.options.ws.properties)
.filter(k => k.startsWith('$')) .filter(k => k.startsWith('$'))
.forEach(k => { .forEach(k => {

View File

@ -201,8 +201,7 @@ class Options extends null {
os_version: '10.0.22621', os_version: '10.0.22621',
os_arch: 'x64', os_arch: 'x64',
system_locale: 'en-US', system_locale: 'en-US',
browser_user_agent: browser_user_agent: 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',
browser_version: '22.3.2', browser_version: '22.3.2',
client_build_number: 199933, client_build_number: 199933,
native_build_number: 32266, native_build_number: 32266,