<commit_before>/**
 * @title node-campfire-bot
 * @overview Campfire bot written in Node.

 Supports plugins and a host of actions.
 */

/**
 * `bot` module joins configured rooms and executes any plugin initialization
 routines.  Exports nothing.
 * @module bot
 */

var joinRooms = require('./actions').joinRooms,
  campfire = require('./campfire'),
  conf = require('../campfire.conf.json');

// TODO get user
joinRooms(conf.rooms).then(function (rooms) {
  campfire.run(rooms);
});
<commit_msg>fixed bad call to campfire.initPlugins<commit_after>/**
 * @title node-campfire-bot
 * @overview Campfire bot written in Node.

 Supports plugins and a host of actions.
 */

/**
 * `bot` module joins configured rooms and executes any plugin initialization
 routines.  Exports nothing.
 * @module bot
 */

var joinRooms = require('./actions').joinRooms,
  campfire = require('./campfire'),
  conf = require('../campfire.conf.json');

// TODO get user
joinRooms(conf.rooms).then(function (rooms) {
  campfire.initPlugins(rooms);
});

{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.0, 'mean_word_length': 3.951923076923077, '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': '2909681', 'n_tokens_mistral': 316, 'n_tokens_neox': 305, 'n_words': 92}