deps: update discordjs/voice

This commit is contained in:
March 7th 2022-12-14 18:50:07 +07:00
parent 0e532cdac7
commit fa95e9bb4f
2 changed files with 689 additions and 666 deletions

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.13.0')}]`, )} [${chalk.bgMagentaBright('@discordjs/voice')} - ${chalk.redBright('v0.14.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.13.0')}]\n${e.stack}`, )} [${chalk.bgMagentaBright('@discordjs/voice')} - ${chalk.redBright('v0.14.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.13.0')}]`, )} [${chalk.bgMagentaBright('@discordjs/voice')} - ${chalk.redBright('v0.14.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.13.0')}`, )} version ${chalk.redBright('v0.14.0')}`,
); );
} }
} }

File diff suppressed because it is too large Load Diff