deps: update discordjs/voice
This commit is contained in:
parent
0e532cdac7
commit
fa95e9bb4f
@ -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')}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1345
src/util/Voice.js
1345
src/util/Voice.js
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user