<commit_before>var temperature = require('./temperature');

module.exports = function(robot) {

  // hubot-auth is a mess in combination with hubot-slack, stubbing all authorization right now
  // see https://github.com/slackapi/hubot-slack/issues/352
  robot.auth = {
    hasRole: function() {
      return true;
    }
  };

  robot.respond(/(temperature)|(temperatuur)|(warm)|(koud)|(heet)/i, (res) => {
    res.send('Het is nu ' + (Math.round(temperature.getTemperature() * 100) / 100) + '°C');
  });
}<commit_msg>not too strict<commit_after>var temperature = require('./temperature');

module.exports = function(robot) {

  // hubot-auth is a mess in combination with hubot-slack, stubbing all authorization right now
  // see https://github.com/slackapi/hubot-slack/issues/352
  robot.auth = {
    hasRole: function() {
      return true;
    }
  };

  robot.respond(/.*(temperature)|(temperatuur)|(warm)|(koud)|(heet).*/i, (res) => {
    res.send('Het is nu ' + (Math.round(temperature.getTemperature() * 100) / 100) + '°C');
  });
}
{'fraction_non_alphanumeric': 0.1809432146294514, 'fraction_numerical': 0.017324350336862367, 'mean_word_length': 3.6222222222222222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5139307', 'n_tokens_mistral': 379, 'n_tokens_neox': 351, 'n_words': 70}