This commit is contained in:
Dragon Fire
2018-08-24 19:05:13 -04:00
parent a1227cb446
commit e7ddfd7573
+1 -1
View File
@@ -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) {