buddy

node MVC discord bot
Log | Files | Refs | README

commit 1391d030f1238acb9d499915342d675685759793
parent 7e734a36cc2a727059a09a338fedf4060aa04c18
Author: underd0g1 <hide4@comcast.net>
Date:   Mon, 26 Oct 2020 23:50:34 -0400

updated yt feature

Diffstat:
Mlib/3party.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/3party.js b/lib/3party.js @@ -117,7 +117,9 @@ const ytresults =async (arguements, message) => { type: "video" } let result = await ytcall(config.token.youtubekey,options); - return result; + var link = ("url: " + "https://youtube.com/watch?v=" + result.items[0].id.videoId); + console.log(link); + return link; } module.exports = {