<commit_before>var ranks = global.data.ranks;
var util = global.util;
var options = global.options;

var chalk = global.modules.chalk;
var _ = global.modules.underscorePlus;

var styles = global.styles;
var bot = global.bot;

var commands = {};

var addCommands = function (newCommands) {
    _.extend(commands, newCommands);
}

addCommands({
    /*
      usage: !uptime
    */
    uptime: function (user, params) {
        if (util.isLive()) {
            var started = new Date(bot.apiData.stream.created_at);
            var now = new Date();
            var uptime = now - started;
            var hours = Math.floor((uptime % 86400000) / 3600000);
            var minutes = Math.floor(((uptime % 86400000) % 3600000) / 60000);
            util.say(options.output.streamTime.format(bot.channel, hours, minutes));
        } else {
            util.say(options.output.notLive.format(bot.channel));
        }
    },
    /*
      usage: !commands <category>
    */
    commands: function (user, params) {

    },
    /*
      usage: !stop
      limitations: broadcaster || (moderator && modsCanRunBroadcasterCommands [defaults to true in core.cson])
    */
    stop: function (user, params) {
        if (user.rank >= ranks.Broadcaster || (options.core.modsCanRunBroadcasterCommands && user.rank == ranks.Moderator)) {
            util.say(options.output.stopTheBot);
            console.log(styles.console.info(user.name + " stopped the bot!"));
            bot.exit();
        }
    }
});

//if (options.core.quotes.enabled) addCommands(module.exports, require('./quotes.js'));
if (options.core.modules.points.enabled) addCommands(require('./points.js'));
if (options.core.modules.customCommands.enabled) addCommands(require('./custom.js'));

module.exports = commands;<commit_msg>This is a dumb commit<commit_after>var ranks = global.data.ranks;
var util = global.util;
var options = global.options;

var chalk = global.modules.chalk;
var _ = global.modules.underscorePlus;

var styles = global.styles;
var bot = global.bot;

var commands = {};

var addCommands = function (newCommands) {
    _.extend(commands, newCommands);
};

addCommands({
    /*
      usage: !uptime
    */
    uptime: function (user, params) {
        if (util.isLive()) {
            var started = new Date(bot.apiData.stream.created_at);
            var now = new Date();
            var uptime = now - started;
            var hours = Math.floor((uptime % 86400000) / 3600000);
            var minutes = Math.floor(((uptime % 86400000) % 3600000) / 60000);
            util.say(options.output.streamTime.format(bot.channel, hours, minutes));
        } else {
            util.say(options.output.notLive.format(bot.channel));
        }
    },
    /*
      usage: !commands <category>
    */
    commands: function (user, params) {

    },
    /*
      usage: !stop
      limitations: broadcaster || (moderator && modsCanRunBroadcasterCommands [defaults to true in core.cson])
    */
    stop: function (user, params) {
        if (user.rank >= ranks.Broadcaster || (options.core.modsCanRunBroadcasterCommands && user.rank == ranks.Moderator)) {
            util.say(options.output.stopTheBot);
            console.log(styles.console.info(user.name + " stopped the bot!"));
            bot.exit();
        }
    }
});

//if (options.core.quotes.enabled) addCommands(module.exports, require('./quotes.js'));
if (options.core.modules.points.enabled) addCommands(require('./points.js'));
if (options.core.modules.customCommands.enabled) addCommands(require('./custom.js'));

module.exports = commands;
{'fraction_non_alphanumeric': 0.14517482517482516, 'fraction_numerical': 0.019580419580419582, 'mean_word_length': 2.6980351602895554, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1026899', 'n_tokens_mistral': 1135, 'n_tokens_neox': 1081, 'n_words': 225}