<commit_before>// Description:
//   PM's you as a Service
//
// Dependencies:
//   None
//
// Configuration:
//   None
//
// Commands:
//   hubot pm me
//
// Author:
//   J3RN

'use strict';

module.exports = (robot) => {
    robot.respond(/pm me/, (msg) => {
        const channel = msg.send({user: {name:  msg.message.user.name}}, "HI!");
    });
}
<commit_msg>Use robot.send instead of msg.send<commit_after>// Description:
//   PM's you as a Service
//
// Dependencies:
//   None
//
// Configuration:
//   None
//
// Commands:
//   hubot pm me
//
// Author:
//   J3RN

'use strict';

module.exports = (robot) => {
    robot.respond(/pm me/, (msg) => {
        robot.send({user: {name:  msg.message.user.name}}, "HI!");
    });
}

{'fraction_non_alphanumeric': 0.21691678035470668, 'fraction_numerical': 0.002728512960436562, 'mean_word_length': 2.110169491525424, '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': '1944823', 'n_tokens_mistral': 274, 'n_tokens_neox': 270, 'n_words': 62}