From 162dc8be1f8f5746d9c3fb8f2ba6c5ef055af827 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 30 Apr 2019 00:24:20 +0000 Subject: [PATCH] Add URL --- commands/search/yu-gi-oh.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/search/yu-gi-oh.js b/commands/search/yu-gi-oh.js index af8911ee..b0a944cc 100644 --- a/commands/search/yu-gi-oh.js +++ b/commands/search/yu-gi-oh.js @@ -44,6 +44,7 @@ module.exports = class YuGiOhCommand extends Command { const embed = new MessageEmbed() .setColor(0xBE5F1F) .setTitle(data.name) + .setURL(`https://db.ygoprodeck.com/card/?search=${data.id}`) .setDescription(shorten(data.desc)) .setAuthor('Yu-Gi-Oh!', 'https://i.imgur.com/AJNBflD.png', 'http://www.yugioh-card.com/') .setThumbnail(data.image_url)