mirror of
https://github.com/danbulant/discord.js
synced 2026-06-07 00:32:03 +00:00
remove console.log
This commit is contained in:
parent
baff7a094c
commit
7b2d76429f
2 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
|
@ -5,8 +5,8 @@ class DefaultPlayer extends BasePlayer {
|
||||||
|
|
||||||
playFile(file) {
|
playFile(file) {
|
||||||
this._shutdown();
|
this._shutdown();
|
||||||
const fileStream = fs.createReadStream(file).on('error', console.log);
|
const fileStream = fs.createReadStream(file);
|
||||||
const pcmStream = this.convertStream(fileStream).on('error', console.log);
|
const pcmStream = this.convertStream(fileStream);
|
||||||
const dispatcher = this.playPCMStream(pcmStream);
|
const dispatcher = this.playPCMStream(pcmStream);
|
||||||
return dispatcher;
|
return dispatcher;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue