<commit_before>'use strict';
const l10nFile = __dirname + '/../l10n/commands/emote.yml';
const l10n = require('../src/l10n')(l10nFile);
const CommandUtil = require('../src/command_util').CommandUtil;
const util = require('util');

exports.command = (rooms, items, players, npcs, Commands) => {
  return (args, player) => {
    const self = player.getName();
    util.log(self + ' is resting.');
    player.write('You rest and regain health.\n');
    player.emit('regen');
  };
};
<commit_msg>Add meditate command and revise rest command file.<commit_after>'use strict';
const CommandUtil = require('../src/command_util').CommandUtil;
const util = require('util');

exports.command = (rooms, items, players, npcs, Commands) => {
  return (args, player) => {
    const self = player.getName();
    util.log(self + ' is resting.');
    player.write('You rest and regain health.\n');
    player.emit('regen');
  };
};

{'fraction_non_alphanumeric': 0.18271334792122537, 'fraction_numerical': 0.010940919037199124, 'mean_word_length': 4.083333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2046335', 'n_tokens_mistral': 296, 'n_tokens_neox': 290, 'n_words': 72}