mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 14:21:41 +02:00
Add URL
This commit is contained in:
@@ -44,6 +44,7 @@ module.exports = class YuGiOhCommand extends Command {
|
|||||||
const embed = new MessageEmbed()
|
const embed = new MessageEmbed()
|
||||||
.setColor(0xBE5F1F)
|
.setColor(0xBE5F1F)
|
||||||
.setTitle(data.name)
|
.setTitle(data.name)
|
||||||
|
.setURL(`https://db.ygoprodeck.com/card/?search=${data.id}`)
|
||||||
.setDescription(shorten(data.desc))
|
.setDescription(shorten(data.desc))
|
||||||
.setAuthor('Yu-Gi-Oh!', 'https://i.imgur.com/AJNBflD.png', 'http://www.yugioh-card.com/')
|
.setAuthor('Yu-Gi-Oh!', 'https://i.imgur.com/AJNBflD.png', 'http://www.yugioh-card.com/')
|
||||||
.setThumbnail(data.image_url)
|
.setThumbnail(data.image_url)
|
||||||
|
|||||||
Reference in New Issue
Block a user