mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +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) {
|
||||
this._shutdown();
|
||||
const fileStream = fs.createReadStream(file).on('error', console.log);
|
||||
const pcmStream = this.convertStream(fileStream).on('error', console.log);
|
||||
const fileStream = fs.createReadStream(file);
|
||||
const pcmStream = this.convertStream(fileStream);
|
||||
const dispatcher = this.playPCMStream(pcmStream);
|
||||
return dispatcher;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue