From 0bcebad342c8e9a9b547a146291dfe6ba72bafce Mon Sep 17 00:00:00 2001 From: Beth <70341936+BethDevJS@users.noreply.github.com> Date: Fri, 8 Apr 2022 20:33:20 +0100 Subject: [PATCH] Update index.js - Fix Spelling Issues Fixed error message spelling mistakes and unnecessary new line for the notice to ensure there are no spelling mistakes. --- index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 6d0a519..3edb0e6 100644 --- a/index.js +++ b/index.js @@ -8,8 +8,7 @@ const commands = require(`./bin/commands`); //in case the bot was not configured properly if(!config.PREFIX || !config.BOT_TOKEN) { - console.error("Error: the configuration file was configured properly."); - console.error("Make sure there are no spelling mistakes."); + console.error("Error: The configuration file was configured improperly. Please ensure there are no spelling mistakes."); process.exit(1); } @@ -27,4 +26,4 @@ client.login(config.BOT_TOKEN); client.on('ready', () => { console.log(`\nONLINE\n`); -}); \ No newline at end of file +});