<commit_before>'use strict';

var util = require('../../utilities.js');
var time = require('../../time.js');

function messageListener(db, from, channel, message) {
  var messages = [];
  if (/^@time$/.test(message)) {
        messages.push({ to: channel, message: util.now() });
  }
  if (/^@remind/.test(message)) {
      //@remind <minutes> <message>
    
    var matches = /^@remind\s+(\d+)\s+(.*)$/.exec(message);
    if (matches) {
      var minutes = matches[1];
      var message = matches[2];
      var now = util.now();
      messages.push(
      { callback: <commit_msg>forgot to parse int<commit_after>'use strict';

var util = require('../../utilities.js');
var time = require('../../time.js');

function messageListener(db, from, channel, message) {
  var messages = [];
  if (/^@time$/.test(message)) {
        messages.push({ to: channel, message: util.now() });
  }
  if (/^@remind/.test(message)) {
      //@remind <minutes> <message>
    
    var matches = /^@remind\s+(\d+)\s+(.*)$/.exec(message);
    if (matches) {
      var minutes = parseInt(matches[1]);
      var message = matches[2];
      var now = util.now();
      messages.push(
      { callback: 
{'fraction_non_alphanumeric': 0.21392190152801357, 'fraction_numerical': 0.003395585738539898, 'mean_word_length': 2.684375, 'pattern_counts': {'":': 0, '<': 7, '<?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': '7222586', 'n_tokens_mistral': 392, 'n_tokens_neox': 386, 'n_words': 89}