<commit_before>/*
 * Sandbox - A stripped down object of things that plugins can perform.
 * This object will be passed to plugins on command and hook execution.
 */
Sandbox = function(irc, commands, usage) {
  this.bot = {
    say: function(to, msg) {
      irc.say(to, msg);
    },

    action: function(to, msg) {
      irc.action(to, msg);
    },

    commands: function() {
      return commands;
    },

    usage: function() {
      return usage;
    }
  };
};


exports.Sandbox = Sandbox;
<commit_msg>don't return commands and uage as functions in the sandbox.<commit_after>/*
 * Sandbox - A stripped down object of things that plugins can perform.
 * This object will be passed to plugins on command and hook execution.
 */
Sandbox = function(irc, commands, usage) {
  this.bot = {
    say: function(to, msg) {
      irc.say(to, msg);
    },

    action: function(to, msg) {
      irc.action(to, msg);
    },

    commands: commands,

    usage: usage
  };
};


exports.Sandbox = Sandbox;

{'fraction_non_alphanumeric': 0.12224448897795591, 'fraction_numerical': 0.0, 'mean_word_length': 2.659340659340659, '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': '5236366', 'n_tokens_mistral': 325, 'n_tokens_neox': 305, 'n_words': 103}