Releases: RocketChat/hubot-rocketchat
Releases · RocketChat/hubot-rocketchat
v0.0.27
Allows things like:
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/