mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-10 19:04:42 +02:00
Beep
This commit is contained in:
@@ -30,7 +30,7 @@ module.exports = class YuGiOhCommand extends Command {
|
||||
const image = await snekfetch.get(`https://yugiohprices.com/api/card_image/${query}`);
|
||||
const { data } = body;
|
||||
const embed = new MessageEmbed()
|
||||
.attachFiles([{ attachment: image, name: 'thumbnail.jpg' }])
|
||||
.attachFiles([{ attachment: image.body, name: 'thumbnail.jpg' }])
|
||||
.setColor(0xBE5F1F)
|
||||
.setTitle(data.name)
|
||||
.setDescription(shorten(data.text))
|
||||
|
||||
Reference in New Issue
Block a user