Update play - cookies.js

This commit is contained in:
Killer069 2021-09-06 14:07:43 +05:30 committed by GitHub
parent efa03480c1
commit 63e32716ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
*/