mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Fix lint
This commit is contained in:
@@ -62,7 +62,7 @@ module.exports = class MagicCommand extends Command {
|
|||||||
.setThumbnail(card.card_faces ? card.card_faces[0].image_uris.art_crop : card.image_uris.art_crop)
|
.setThumbnail(card.card_faces ? card.card_faces[0].image_uris.art_crop : card.image_uris.art_crop)
|
||||||
.setDescription(`${manaCost} ${card.type_line}\n\n${oracleText}`)
|
.setDescription(`${manaCost} ${card.type_line}\n\n${oracleText}`)
|
||||||
.setAuthor('Scryfall', logos.scryfall, 'https://scryfall.com/')
|
.setAuthor('Scryfall', logos.scryfall, 'https://scryfall.com/')
|
||||||
.setTitle(card.name)
|
.setTitle(card.name);
|
||||||
if (card.power && card.toughness) {
|
if (card.power && card.toughness) {
|
||||||
embed.addField('❯ Power', card.power, true);
|
embed.addField('❯ Power', card.power, true);
|
||||||
embed.addField('❯ Toughness', card.toughness, true);
|
embed.addField('❯ Toughness', card.toughness, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user