From 823a339c25b936d4368d9a80893edc3b2c09afb0 Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Mon, 24 Oct 2016 22:27:23 +0100 Subject: [PATCH] oh no wait i was right the first time --- src/client/voice/VoiceConnection.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/voice/VoiceConnection.js b/src/client/voice/VoiceConnection.js index 7c7b7a269..a367718d3 100644 --- a/src/client/voice/VoiceConnection.js +++ b/src/client/voice/VoiceConnection.js @@ -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); }