From 2f0210ac46ef1c3d4ac818e7484e087497bf7869 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 13 Apr 2019 16:17:29 +0000 Subject: [PATCH] Fix --- commands/analyze/face.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/analyze/face.js b/commands/analyze/face.js index 16941471..b7f4d57b 100644 --- a/commands/analyze/face.js +++ b/commands/analyze/face.js @@ -41,6 +41,7 @@ module.exports = class FaceCommand extends Command { ${beautyScore > 50 ? beautyScore > 70 ? beautyScore > 90 ? 'Hot!' : 'Not bad.' : 'Not _too_ ugly.' : 'Uggggly!'} `); } catch (err) { + if (err.status === 403) return msg.reply('Hold your horses! The command is overloaded! Try again soon.'); return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); } }