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:
parent
89dfb8a509
commit
0bcebad342
5
index.js
5
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`);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue