From 49f3bc9c01626b346e6d68b0da14e0ba1b834a5f Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 19 May 2021 17:53:35 -0400 Subject: [PATCH] Add series logo --- commands/search/smash-bros.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/search/smash-bros.js b/commands/search/smash-bros.js index 7e7066b1..e4d56be8 100644 --- a/commands/search/smash-bros.js +++ b/commands/search/smash-bros.js @@ -50,6 +50,7 @@ module.exports = class SmashBrosCommand extends Command { ) .setDescription(fighter.dlc ? '_DLC Fighter_' : '') .setImage(fighter.image) + .setThumbnail(fighter.logoImage) .setFooter(`Fighter ${fighter.number}`, fighter.smallImage); return msg.embed(embed); } catch (err) { @@ -70,6 +71,7 @@ module.exports = class SmashBrosCommand extends Command { url: `https://www.smashbros.com/en_US/fighter/${fighter.url}.html`, image: `https://www.smashbros.com/assets_v2/img/fighter/${fighter.file}/main.png`, smallImage: `https://www.smashbros.com/assets_v2/img/fighter/pict/${fighter.file}.png`, + logoImage: `https://www.smashbros.com/assets_v2/img/fighter/logo/${figher.series}_en.png`, series: fighter.series, color: fighter.color, dlc: Boolean(fighter.dlc),