oh no wait i was right the first time

This commit is contained in:
Amish Shah
2016-10-24 22:27:23 +01:00
parent 8a68fea9af
commit 823a339c25

View File

@@ -93,8 +93,7 @@ class VoiceConnection extends EventEmitter {
});
}
playFile(file, { seek = 0, volume = 1, passes = 1 } = {}) {
const options = { seek, volume, passes };
playFile(file, options) {
return this.playStream(fs.createReadStream(file), options);
}