damn it hydar

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

View File

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