GitHub PullRequestReviewCommentEvent at 2014-05-19 12:55:42
Repository: hubot-scripts
Actor: technicalpickles
Payload: {"comment":{"url":"https://api.github.com/repos/github/hubot-scripts/pulls/comments/12792050","id":12792050,"diff_hunk":"@@ -0,0 +1,90 @@\n+# Description\n+#   Fires foam darts at your colleagues\n+#\n+# Dependencies:\n+#   None\n+#\n+# Configuration:\n+#   None\n+#\n+# Commands:\n+#   hubot shoot target - Fire's a foam dart at the target\n+#\n+# Notes:\n+#   None\n+#\n+# Author:\n+#   bsensale\n+\n+# TODO: Figure out how to match up the incoming message with the correct user\n+# by @mention name.  My testing has found that its sending in the @mention value\n+# as set in hipchat's settings, but that that text doesn't necessarily match the\n+# value stored in the user hash. :-/\n+userForMentionName = (robot, msg, mentionname) ->\n+  msg.send \"Checking mentionname: #{mentionname}\"","path":"src/scripts/darts.coffee","position":24,"original_position":24,"commit_id":"642ace0453eaf3e9783d72066f7667acee45bd86","original_commit_id":"642ace0453eaf3e9783d72066f7667acee45bd86","user":{"login":"technicalpickles","id":159,"avatar_url":"https://avatars.githubusercontent.com/u/159?","gravatar_id":"1c1aabc1abed5cce37b192dd00f0f28c","url":"https://api.github.com/users/technicalpickles","html_url":"https://github.com/technicalpickles","followers_url":"https://api.github.com/users/technicalpickles/followers","following_url":"https://api.github.com/users/technicalpickles/following{/other_user}","gists_url":"https://api.github.com/users/technicalpickles/gists{/gist_id}","starred_url":"https://api.github.com/users/technicalpickles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technicalpickles/subscriptions","organizations_url":"https://api.github.com/users/technicalpickles/orgs","repos_url":"https://api.github.com/users/technicalpickles/repos","events_url":"https://api.github.com/users/technicalpickles/events{/privacy}","received_events_url":"https://api.github.com/users/technicalpickles/received_events","type":"User","site_admin":true},"body":"This seems like debugging, so would be better for a `robot.logger.debug` call than replying back to the user. ","created_at":"2014-05-19T12:55:42Z","updated_at":"2014-05-19T12:55:42Z","html_url":"https://github.com/github/hubot-scripts/pull/1433#discussion_r12792050","pull_request_url":"https://api.github.com/repos/github/hubot-scripts/pulls/1433","_links":{"self":{"href":"https://api.github.com/repos/github/hubot-scripts/pulls/comments/12792050"},"html":{"href":"https://github.com/github/hubot-scripts/pull/1433#discussion_r12792050"},"pull_request":{"href":"https://api.github.com/repos/github/hubot-scripts/pulls/1433"}}}}