Merge pull request #23 from BethDevJS/patch-1

Update index.js - Fix Spelling Issues
This commit is contained in:
Sravanth 2022-04-19 20:18:37 +05:30 committed by GitHub
commit 276d2dc74f
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`);
});
});