mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
Tiny text changes
This commit is contained in:
parent
74b9e5d643
commit
ab7682f921
1 changed files with 2 additions and 2 deletions
|
|
@ -73,14 +73,14 @@ class VoiceConnectionPlayer extends EventEmitter {
|
|||
}
|
||||
if (streams.pcmConverter && streams.pcmConverter.kill) {
|
||||
streams.pcmConverter.kill('SIGINT');
|
||||
this.emit(Constants.Events.DEBUG, '- Killed the pcm converter');
|
||||
this.emit(Constants.Events.DEBUG, '- Killed the PCM converter');
|
||||
}
|
||||
} catch (err) {
|
||||
// if an error happened make sure the pcm converter is killed anyway
|
||||
try {
|
||||
if (streams.pcmConverter && streams.pcmConverter.kill) {
|
||||
streams.pcmConverter.kill('SIGINT');
|
||||
this.emit(Constants.Events.DEBUG, '- Killed the pcm converter after previous error (abnormal)');
|
||||
this.emit(Constants.Events.DEBUG, '- Killed the PCM converter after previous error (abnormal)');
|
||||
}
|
||||
} catch (e) {
|
||||
return e;
|
||||
|
|
|
|||
Loading…
Reference in a new issue