From e81b54e1cdbfed32f3c28c01d03b7764910dc949 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 29 Sep 2018 10:57:18 -0400 Subject: [PATCH] Fix --- commands/search/azur-lane-ship.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/azur-lane-ship.js b/commands/search/azur-lane-ship.js index 2dc9d77d..c82498a1 100644 --- a/commands/search/azur-lane-ship.js +++ b/commands/search/azur-lane-ship.js @@ -27,7 +27,7 @@ module.exports = class AzurLaneShipCommand extends Command { const { body } = await request .get(`https://al-shipgirls.pw/shipyard/ship_info_detailed/`) .query({ search: query }); - const data = body[0]; + const data = body[0].item; const embed = new MessageEmbed() .setColor(0x1A1917) .setAuthor('Azur Lane', 'https://i.imgur.com/KeGXiZA.jpg', 'https://azurlane.yo-star.com')