<commit_before>'use strict';

/**
 * Discord chatbot
 */

const credentials = require('./setup/custom/credentials');
const Brain = require('./utils/Brain');
const ChatBot = require(__dirname + '/utils/ChatBot');

// Build the initial runtime object
let runtime = require('./utils/Runtime');
runtime.debug = process.argv[2] === 'debug' || false;
runtime.coreCommands = null;
runtime.pluginCommands = null;
runtime.websocketCommands = null;
runtime.startUpTime = new Date().getTime();
runtime.credentials = credentials;
runtime.brain = Brain;

// Verify credentials exist
if ( !runtime.credentials.email || !runtime.credentials.password || !runtime.credentials.token ) {
    console.error('ERROR: Credentials file is missing required attributes. Please check your credentials.js');
    console.log('[bot] Quitting startup process.');
    return;
}

runtime.brain.start( __dirname + "/brain" );
ChatBot.start();<commit_msg>Trying to fix paths in index.js<commit_after>'use strict';

/**
 * Discord chatbot
 */

const credentials = require('./setup/custom/credentials');
const Brain = require('./utils/Brain');
const ChatBot = require(__dirname + '/utils/ChatBot');

// Build the initial runtime object
let runtime = require('./utils/Runtime');
runtime.debug = process.argv[2] === 'debug' || false;
runtime.coreCommands = null;
runtime.pluginCommands = null;
runtime.websocketCommands = null;
runtime.startUpTime = new Date().getTime();
runtime.credentials = credentials;
runtime.brain = Brain;

// Verify credentials exist
if ( !runtime.credentials.email || !runtime.credentials.password || !runtime.credentials.token ) {
    console.error('ERROR: Credentials file is missing required attributes. Please check your credentials.js');
    console.log('[bot] Quitting startup process.');
    return;
}

runtime.brain.start( __dirname + "/brain" );
ChatBot.start(); 
{'fraction_non_alphanumeric': 0.1490048413125336, 'fraction_numerical': 0.0010758472296933835, 'mean_word_length': 4.923566878980892, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '386733', 'n_tokens_mistral': 522, 'n_tokens_neox': 517, 'n_words': 136}