mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -25,10 +25,10 @@ module.exports = class YuGiOhCommand extends Command {
|
||||
async run(msg, { query }) {
|
||||
try {
|
||||
const { body } = await snekfetch
|
||||
.get(`http://yugiohprices.com/api/card_data/${query}`);
|
||||
.get(`https://yugiohprices.com/api/card_data/${query}`);
|
||||
if (body.status === 'fail') return msg.say('Could not find any results.');
|
||||
const image = await snekfetch
|
||||
.get(`http://yugiohprices.com/api/card_image/${query}`);
|
||||
.get(`https://yugiohprices.com/api/card_image/${query}`);
|
||||
const { data } = body;
|
||||
const embed = new MessageEmbed()
|
||||
.setColor(0xBE5F1F)
|
||||
|
||||
Reference in New Issue
Block a user