diff --git a/commands/search/neopet.js b/commands/search/neopet.js index f48c898a..14568e03 100644 --- a/commands/search/neopet.js +++ b/commands/search/neopet.js @@ -52,7 +52,7 @@ module.exports = class NeopetCommand extends Command { } async run(msg, { pet, mood, flags }) { - const petImg = await petImage(pet, { mood, size: (flags.portrait || flags.p) ? 6 : 5 }); + const petImg = await petImage(pet, { mood, size: flags.portrait || flags.p ? 6 : 5 }); if (!petImg) return msg.say('Could not find any results.'); return msg.say({ files: [{ attachment: petImg.data, name: `${pet}-${mood}.png` }] }); }