chore: release v2.13.1

- Update @djs/voice 0.15.0 > 0.16.0
This commit is contained in:
Elysia 2023-04-07 21:39:47 +07:00
parent fe840cedf8
commit 6cc97fbb24
5 changed files with 769 additions and 815 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.13.0", "version": "2.13.1",
"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",
@ -52,16 +52,16 @@
"homepage": "https://github.com/aiko-chan-ai/discord.js-selfbot-v13#readme", "homepage": "https://github.com/aiko-chan-ai/discord.js-selfbot-v13#readme",
"dependencies": { "dependencies": {
"@aikochan2k6/qrcode-terminal": "^0.12.1", "@aikochan2k6/qrcode-terminal": "^0.12.1",
"@discordjs/builders": "^1.5.0", "@discordjs/builders": "^1.6.1",
"@discordjs/collection": "^1.4.0", "@discordjs/collection": "^1.5.0",
"@discordjs/voice": "^0.15.0", "@discordjs/voice": "^0.16.0",
"@sapphire/async-queue": "^1.5.0", "@sapphire/async-queue": "^1.5.0",
"@sapphire/shapeshift": "^3.8.1", "@sapphire/shapeshift": "^3.8.2",
"@types/node-fetch": "^2.6.2", "@types/node-fetch": "^2.6.3",
"@types/ws": "^8.5.4", "@types/ws": "^8.5.4",
"axios": "1.1", "axios": "1.1",
"chalk": "^4.1.2", "chalk": "^4.1.2",
"discord-api-types": "^0.37.36", "discord-api-types": "^0.37.37",
"form-data": "^4.0.0", "form-data": "^4.0.0",
"json-bigint": "^1.0.0", "json-bigint": "^1.0.0",
"lodash.permutations": "^1.0.0", "lodash.permutations": "^1.0.0",
@ -82,7 +82,7 @@
"@commitlint/config-angular": "^16.0.0", "@commitlint/config-angular": "^16.0.0",
"@discordjs/docgen": "^0.11.1", "@discordjs/docgen": "^0.11.1",
"@favware/npm-deprecate": "^1.0.7", "@favware/npm-deprecate": "^1.0.7",
"@types/node": "^18.15.5", "@types/node": "^18.15.11",
"conventional-changelog-cli": "^2.2.2", "conventional-changelog-cli": "^2.2.2",
"dtslint": "^4.2.1", "dtslint": "^4.2.1",
"eslint": "^8.36.0", "eslint": "^8.36.0",
@ -93,7 +93,7 @@
"is-ci": "^3.0.1", "is-ci": "^3.0.1",
"jest": "^28.1.3", "jest": "^28.1.3",
"lint-staged": "^12.1.4", "lint-staged": "^12.1.4",
"prettier": "^2.8.6", "prettier": "^2.8.7",
"tsd": "^0.25.0", "tsd": "^0.25.0",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"typescript": "^4.9.5" "typescript": "^4.9.5"

View File

@ -15,7 +15,7 @@ function patchVoice(client) {
'debug', 'debug',
`${chalk.greenBright('[OK]')} Patched ${chalk.cyanBright( `${chalk.greenBright('[OK]')} Patched ${chalk.cyanBright(
'VoiceConnection.prototype.configureNetworking', 'VoiceConnection.prototype.configureNetworking',
)} [${chalk.bgMagentaBright('@discordjs/voice')} - ${chalk.redBright('v0.15.0')}]`, )} [${chalk.bgMagentaBright('@discordjs/voice')} - ${chalk.redBright('v0.16.0')}]`,
); );
/* eslint-enable */ /* eslint-enable */
} catch (e) { } catch (e) {
@ -23,19 +23,19 @@ function patchVoice(client) {
'debug', 'debug',
`${chalk.redBright('[Fail]')} Patched ${chalk.cyanBright( `${chalk.redBright('[Fail]')} Patched ${chalk.cyanBright(
'VoiceConnection.prototype.configureNetworking', 'VoiceConnection.prototype.configureNetworking',
)} [${chalk.bgMagentaBright('@discordjs/voice')} - ${chalk.redBright('v0.15.0')}]\n${e.stack}`, )} [${chalk.bgMagentaBright('@discordjs/voice')} - ${chalk.redBright('v0.16.0')}]\n${e.stack}`,
); );
client.emit( client.emit(
Events.ERROR, Events.ERROR,
`${chalk.redBright('[Fail]')} Patched ${chalk.cyanBright( `${chalk.redBright('[Fail]')} Patched ${chalk.cyanBright(
'VoiceConnection.prototype.configureNetworking', 'VoiceConnection.prototype.configureNetworking',
)} [${chalk.bgMagentaBright('@discordjs/voice')} - ${chalk.redBright('v0.15.0')}]`, )} [${chalk.bgMagentaBright('@discordjs/voice')} - ${chalk.redBright('v0.16.0')}]`,
); );
client.emit( client.emit(
Events.ERROR, Events.ERROR,
`${chalk.redBright('[Error]')} Please install ${chalk.bgMagentaBright( `${chalk.redBright('[Error]')} Please install ${chalk.bgMagentaBright(
'@discordjs/voice', '@discordjs/voice',
)} version ${chalk.redBright('v0.15.0')}`, )} version ${chalk.redBright('v0.16.0')}`,
); );
} }
} }

View File

@ -401,11 +401,11 @@ class RequestHandler {
await this.manager.client.sleep(5_000); await this.manager.client.sleep(5_000);
this.manager.client.emit( this.manager.client.emit(
DEBUG, DEBUG,
`Captcha solved. `Captcha details:
Method : ${request.method} Method : ${request.method}
Path : ${request.path} Path : ${request.path}
Route : ${request.route} Route : ${request.route}
Key : ${captcha ? `${captcha.slice(0, 30)}...` : '[Capcha not solved]'} Key : ${captcha ? `${captcha.slice(0, 30)}...` : '[Captcha not solved]'}
rqToken : ${data.captcha_rqtoken}`, rqToken : ${data.captcha_rqtoken}`,
); );
request.retries++; request.retries++;

File diff suppressed because it is too large Load Diff