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.
This commit is contained in:
Beth 2022-04-08 20:33:20 +01:00 committed by GitHub
parent 89dfb8a509
commit 0bcebad342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`);
});
});