From edc4e2b751753c46a32a11eff8c757ca02d9dde4 Mon Sep 17 00:00:00 2001 From: Michel Nguyen Date: Sun, 21 Jan 2018 18:23:00 +0100 Subject: [PATCH] docs: fix streamdispatcher documentation (#2275) * docs change * fix streamdispatcher documentation Signed-off-by: Michel Nguyen * fucks sake Signed-off-by: Michel Nguyen * typings Signed-off-by: Michel Nguyen * typings again :eyes: Signed-off-by: Michel Nguyen --- src/client/voice/dispatcher/StreamDispatcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/voice/dispatcher/StreamDispatcher.js b/src/client/voice/dispatcher/StreamDispatcher.js index ef1f0b985..b99be2e88 100644 --- a/src/client/voice/dispatcher/StreamDispatcher.js +++ b/src/client/voice/dispatcher/StreamDispatcher.js @@ -22,7 +22,7 @@ nonce.fill(0); * // Obtained using: * voiceChannel.join().then(connection => { * // You can play a file or a stream here: - * const dispatcher = connection.playFile('./file.mp3'); + * const dispatcher = connection.play('/home/hydrabolt/audio.mp3'); * }); * ``` * @implements {VolumeInterface}