mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
Add series logo
This commit is contained in:
@@ -50,6 +50,7 @@ module.exports = class SmashBrosCommand extends Command {
|
|||||||
)
|
)
|
||||||
.setDescription(fighter.dlc ? '_DLC Fighter_' : '')
|
.setDescription(fighter.dlc ? '_DLC Fighter_' : '')
|
||||||
.setImage(fighter.image)
|
.setImage(fighter.image)
|
||||||
|
.setThumbnail(fighter.logoImage)
|
||||||
.setFooter(`Fighter ${fighter.number}`, fighter.smallImage);
|
.setFooter(`Fighter ${fighter.number}`, fighter.smallImage);
|
||||||
return msg.embed(embed);
|
return msg.embed(embed);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@@ -70,6 +71,7 @@ module.exports = class SmashBrosCommand extends Command {
|
|||||||
url: `https://www.smashbros.com/en_US/fighter/${fighter.url}.html`,
|
url: `https://www.smashbros.com/en_US/fighter/${fighter.url}.html`,
|
||||||
image: `https://www.smashbros.com/assets_v2/img/fighter/${fighter.file}/main.png`,
|
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`,
|
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,
|
series: fighter.series,
|
||||||
color: fighter.color,
|
color: fighter.color,
|
||||||
dlc: Boolean(fighter.dlc),
|
dlc: Boolean(fighter.dlc),
|
||||||
|
|||||||
Reference in New Issue
Block a user