Skip to content

v0.0.27

Compare
Choose a tag to compare
@geekgonecrazy geekgonecrazy released this 23 Jan 03:29
· 148 commits to master since this release

Allows things like:

image

Allows you to do something like:

robot.adapter.customMessage({
  channel: room,
  attachments: [
    {
       title: "[#{repo.full_name}] New Comment on #{issue_pull}: \##{issue.number}",
       title_link: issue.html_url,
       text: "<img src=\"#{comment.user.avatar_url}\" width=\"20\" /> <a href=\"{comment.user.html_url}\">#{comment.user.login}</a>: <br /> #{comment.body}"
    }
  ]
});

Inspiration for this approach:

http://baudehlo.com/2015/11/20/creating-nice-looking-slack-bot-messages-with-hubot/