From 99015a824c09cb63cd7e52edad275389c3dcf885 Mon Sep 17 00:00:00 2001 From: Cristiano Pires Date: Sat, 5 Aug 2023 17:09:08 +0100 Subject: [PATCH] trailer links correctly tied to the host --- commands/search/searchAnime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/searchAnime.js b/commands/search/searchAnime.js index 6cbdd7c..90fb714 100644 --- a/commands/search/searchAnime.js +++ b/commands/search/searchAnime.js @@ -85,7 +85,7 @@ class anime extends Command{ .addFields( {name:'Status:', value:data.status, inline:true}, {name:'Episodes:', value:data.episodes?data.episodes.toString():'N/A', inline:true}, - {name:'Trailer:', value:data.trailer?(data.trailer.site=='yotube'?`https://www.youtube.com/watch?v=${data.trailer.id}`:`https://www.dailymotion.com/video/${data.trailer.id}`):'N/A'}); + {name:'Trailer:', value:data.trailer?(data.trailer.site=='youtube'?`https://www.youtube.com/watch?v=${data.trailer.id}`:`https://www.dailymotion.com/video/${data.trailer.id}`):'N/A'}); const randomID = Random(); const row = new ActionRowBuilder() .addComponents(