From ac0c15f7f1950eaaebfa29a741ada64d67a086a5 Mon Sep 17 00:00:00 2001 From: FireController1847 Date: Sun, 24 Jun 2018 07:47:54 -0600 Subject: [PATCH] Change ytdl example (#2619) --- src/client/voice/util/PlayInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/voice/util/PlayInterface.js b/src/client/voice/util/PlayInterface.js index 17318253b..2a3712f49 100644 --- a/src/client/voice/util/PlayInterface.js +++ b/src/client/voice/util/PlayInterface.js @@ -47,7 +47,7 @@ class PlayInterface { * connection.play('/home/hydrabolt/audio.mp3', { volume: 0.5 }); * @example * // Play a ReadableStream - * connection.play(ytdl('https://www.youtube.com/watch?v=ZlAU_w7-Xp8', { filter: 'audioonly' })); + * connection.play(ytdl('https://www.youtube.com/watch?v=ZlAU_w7-Xp8', { quality: 'highestaudio' })); * @example * // Play a voice broadcast * const broadcast = client.createVoiceBroadcast();