mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
remove console.log
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user