From 63e32716efe588e949b7075ed2e503e68fd0cf39 Mon Sep 17 00:00:00 2001 From: Killer069 <65385476+killer069@users.noreply.github.com> Date: Mon, 6 Sep 2021 14:07:43 +0530 Subject: [PATCH] Update play - cookies.js --- examples/YouTube/play - cookies.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/YouTube/play - cookies.js b/examples/YouTube/play - cookies.js index 3afc6b9..d1be96d 100644 --- a/examples/YouTube/play - cookies.js +++ b/examples/YouTube/play - cookies.js @@ -23,7 +23,9 @@ client.on('messageCreate', async message => { /* OR if you want to get info about youtube link and then stream it - let yt_info = await play.video_info(args, COOKIE) + let yt_info = await play.video_info(args, { + cookie : COOKIE + }) console.log(yt_info.video_details.title) let stream = await play.stream_from_info(yt_info) */