mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +02:00
Use full magic image
This commit is contained in:
@@ -62,7 +62,7 @@ module.exports = class MagicCommand extends Command {
|
|||||||
const embed = new EmbedBuilder()
|
const embed = new EmbedBuilder()
|
||||||
.setURL(card.scryfall_uri)
|
.setURL(card.scryfall_uri)
|
||||||
.setColor(0x2B253A)
|
.setColor(0x2B253A)
|
||||||
.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.normal : card.image_uris.normal)
|
||||||
.setDescription(`${manaCost} ${card.type_line}\n\n${oracleText}`)
|
.setDescription(`${manaCost} ${card.type_line}\n\n${oracleText}`)
|
||||||
.setAuthor({ name: 'Scryfall', iconURL: logos.scryfall, url: 'https://scryfall.com/' })
|
.setAuthor({ name: 'Scryfall', iconURL: logos.scryfall, url: 'https://scryfall.com/' })
|
||||||
.setTitle(card.name);
|
.setTitle(card.name);
|
||||||
|
|||||||
Reference in New Issue
Block a user