From e7ddfd7573bd5e8a54bbaa8a25f543bc32373a20 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 24 Aug 2018 19:05:13 -0400 Subject: [PATCH] Fix --- commands/search/neopet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/neopet.js b/commands/search/neopet.js index 1f07ce3c..68284f78 100644 --- a/commands/search/neopet.js +++ b/commands/search/neopet.js @@ -40,7 +40,7 @@ module.exports = class NeopetCommand extends Command { async run(msg, { pet, mood }) { try { - const link = await petImage(pet, { mood }); + const link = await petImage(pet, { mood: moods[mood] }); if (!link) return msg.say('Could not find any results.'); return msg.say(link); } catch (err) {