<commit_before>'use strict';

var debug = require('debug')('slack');
var restler = require('restler');

module.exports = function(options, env) {
  return function (message) {
    restler.post(options.webhook, {
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded'
      },
      data: 'payload=' + JSON.stringify({
        channel: options.channel,
        attachments: [{
          pretext: 'By ' + '*' + message.author + '*',
          title: message.subject,
          title_link: message.link,
          text: message.text,<commit_msg>slack알림 메세지 작성자 이름 강조<commit_after>'use strict';

var debug = require('debug')('slack');
var restler = require('restler');

module.exports = function(options, env) {
  return function (message) {
    restler.post(options.webhook, {
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded'
      },
      data: 'payload=' + JSON.stringify({
        channel: options.channel,
        attachments: [{
          pretext: 'Posted by ' + '*' + message.author + '*',
          title: message.subject,
          title_link: message.link,
          text: message.text,
{'fraction_non_alphanumeric': 0.15223097112860892, 'fraction_numerical': 0.0, 'mean_word_length': 2.6903225806451614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5737740', 'n_tokens_mistral': 354, 'n_tokens_neox': 356, 'n_words': 70}