mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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) {
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user