{"action":"created","comment":{"url":"https://api.github.com/repos/github/hubot/pulls/comments/32421032","id":32421032,"diff_hunk":"@@ -566,27 +566,40 @@ Scripts loaded from the `scripts/` directory are loaded in alphabetical order, s\n \n Once you've built some new scripts to extend the abilities of your robot friend, you should consider sharing them with the world! At the minimum, you need to package up your script and submit it to the [Node.js Package Registry](http://npmjs.org). You should also review the best practices for sharing scripts below.\n \n+## See if a script already exists\n+\n+Check out the [NPM Registry](https://www.npmjs.com/browse/keyword/hubot-scripts) for the `hubot-scripts` keyword.  If you don't see an existing package that you can contribute to, then you can easily get started using the `hubot` script [yeoman](http://yeoman.io/) generator.\n+","path":"docs/scripting.md","position":16,"original_position":16,"commit_id":"bda9055cb40867a7d8719385a6b43689342ef516","original_commit_id":"bda9055cb40867a7d8719385a6b43689342ef516","user":{"login":"bkeepers","id":173,"avatar_url":"https://avatars.githubusercontent.com/u/173?v=3","gravatar_id":"","url":"https://api.github.com/users/bkeepers","html_url":"https://github.com/bkeepers","followers_url":"https://api.github.com/users/bkeepers/followers","following_url":"https://api.github.com/users/bkeepers/following{/other_user}","gists_url":"https://api.github.com/users/bkeepers/gists{/gist_id}","starred_url":"https://api.github.com/users/bkeepers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkeepers/subscriptions","organizations_url":"https://api.github.com/users/bkeepers/orgs","repos_url":"https://api.github.com/users/bkeepers/repos","events_url":"https://api.github.com/users/bkeepers/events{/privacy}","received_events_url":"https://api.github.com/users/bkeepers/received_events","type":"User","site_admin":true},"body":"What do you think about linking to https://hubot.github.com/docs/#scripts instead of duplicating that info here? That way, if we change how to find scripts (such as building a script directory: https://github.com/github/hubot/issues/976), we only have to update the docs in one place.","created_at":"2015-06-15T13:49:10Z","updated_at":"2015-06-15T13:49:10Z","html_url":"https://github.com/github/hubot/pull/971#discussion_r32421032","pull_request_url":"https://api.github.com/repos/github/hubot/pulls/971","_links":{"self":{"href":"https://api.github.com/repos/github/hubot/pulls/comments/32421032"},"html":{"href":"https://github.com/github/hubot/pull/971#discussion_r32421032"},"pull_request":{"href":"https://api.github.com/repos/github/hubot/pulls/971"}}},"pull_request":{"url":"https://api.github.com/repos/github/hubot/pulls/971","id":37217777,"html_url":"https://github.com/github/hubot/pull/971","diff_url":"https://github.com/github/hubot/pull/971.diff","patch_url":"https://github.com/github/hubot/pull/971.patch","issue_url":"https://api.github.com/repos/github/hubot/issues/971","number":971,"state":"open","locked":false,"title":"Add example of generating hubot script (#968)","user":{"login":"geoffreyanderson","id":423529,"avatar_url":"https://avatars.githubusercontent.com/u/423529?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreyanderson","html_url":"https://github.com/geoffreyanderson","followers_url":"https://api.github.com/users/geoffreyanderson/followers","following_url":"https://api.github.com/users/geoffreyanderson/following{/other_user}","gists_url":"https://api.github.com/users/geoffreyanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreyanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreyanderson/subscriptions","organizations_url":"https://api.github.com/users/geoffreyanderson/orgs","repos_url":"https://api.github.com/users/geoffreyanderson/repos","events_url":"https://api.github.com/users/geoffreyanderson/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreyanderson/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-09T04:01:26Z","updated_at":"2015-06-15T13:49:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b26b9c94f5858ed0044a4bcebdfa14bbf767f4a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/github/hubot/pulls/971/commits","review_comments_url":"https://api.github.com/repos/github/hubot/pulls/971/comments","review_comment_url":"https://api.github.com/repos/github/hubot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github/hubot/issues/971/comments","statuses_url":"https://api.github.com/repos/github/hubot/statuses/bda9055cb40867a7d8719385a6b43689342ef516","head":{"label":"geoffreyanderson:issue968","ref":"issue968","sha":"bda9055cb40867a7d8719385a6b43689342ef516","user":{"login":"geoffreyanderson","id":423529,"avatar_url":"https://avatars.githubusercontent.com/u/423529?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreyanderson","html_url":"https://github.com/geoffreyanderson","followers_url":"https://api.github.com/users/geoffreyanderson/followers","following_url":"https://api.github.com/users/geoffreyanderson/following{/other_user}","gists_url":"https://api.github.com/users/geoffreyanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreyanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreyanderson/subscriptions","organizations_url":"https://api.github.com/users/geoffreyanderson/orgs","repos_url":"https://api.github.com/users/geoffreyanderson/repos","events_url":"https://api.github.com/users/geoffreyanderson/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreyanderson/received_events","type":"User","site_admin":false},"repo":{"id":25444192,"name":"hubot","full_name":"geoffreyanderson/hubot","owner":{"login":"geoffreyanderson","id":423529,"avatar_url":"https://avatars.githubusercontent.com/u/423529?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreyanderson","html_url":"https://github.com/geoffreyanderson","followers_url":"https://api.github.com/users/geoffreyanderson/followers","following_url":"https://api.github.com/users/geoffreyanderson/following{/other_user}","gists_url":"https://api.github.com/users/geoffreyanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreyanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreyanderson/subscriptions","organizations_url":"https://api.github.com/users/geoffreyanderson/orgs","repos_url":"https://api.github.com/users/geoffreyanderson/repos","events_url":"https://api.github.com/users/geoffreyanderson/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreyanderson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geoffreyanderson/hubot","description":"A customizable life embetterment robot.","fork":true,"url":"https://api.github.com/repos/geoffreyanderson/hubot","forks_url":"https://api.github.com/repos/geoffreyanderson/hubot/forks","keys_url":"https://api.github.com/repos/geoffreyanderson/hubot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geoffreyanderson/hubot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geoffreyanderson/hubot/teams","hooks_url":"https://api.github.com/repos/geoffreyanderson/hubot/hooks","issue_events_url":"https://api.github.com/repos/geoffreyanderson/hubot/issues/events{/number}","events_url":"https://api.github.com/repos/geoffreyanderson/hubot/events","assignees_url":"https://api.github.com/repos/geoffreyanderson/hubot/assignees{/user}","branches_url":"https://api.github.com/repos/geoffreyanderson/hubot/branches{/branch}","tags_url":"https://api.github.com/repos/geoffreyanderson/hubot/tags","blobs_url":"https://api.github.com/repos/geoffreyanderson/hubot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geoffreyanderson/hubot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geoffreyanderson/hubot/git/refs{/sha}","trees_url":"https://api.github.com/repos/geoffreyanderson/hubot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geoffreyanderson/hubot/statuses/{sha}","languages_url":"https://api.github.com/repos/geoffreyanderson/hubot/languages","stargazers_url":"https://api.github.com/repos/geoffreyanderson/hubot/stargazers","contributors_url":"https://api.github.com/repos/geoffreyanderson/hubot/contributors","subscribers_url":"https://api.github.com/repos/geoffreyanderson/hubot/subscribers","subscription_url":"https://api.github.com/repos/geoffreyanderson/hubot/subscription","commits_url":"https://api.github.com/repos/geoffreyanderson/hubot/commits{/sha}","git_commits_url":"https://api.github.com/repos/geoffreyanderson/hubot/git/commits{/sha}","comments_url":"https://api.github.com/repos/geoffreyanderson/hubot/comments{/number}","issue_comment_url":"https://api.github.com/repos/geoffreyanderson/hubot/issues/comments{/number}","contents_url":"https://api.github.com/repos/geoffreyanderson/hubot/contents/{+path}","compare_url":"https://api.github.com/repos/geoffreyanderson/hubot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geoffreyanderson/hubot/merges","archive_url":"https://api.github.com/repos/geoffreyanderson/hubot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geoffreyanderson/hubot/downloads","issues_url":"https://api.github.com/repos/geoffreyanderson/hubot/issues{/number}","pulls_url":"https://api.github.com/repos/geoffreyanderson/hubot/pulls{/number}","milestones_url":"https://api.github.com/repos/geoffreyanderson/hubot/milestones{/number}","notifications_url":"https://api.github.com/repos/geoffreyanderson/hubot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geoffreyanderson/hubot/labels{/name}","releases_url":"https://api.github.com/repos/geoffreyanderson/hubot/releases{/id}","created_at":"2014-10-20T00:11:31Z","updated_at":"2015-03-13T22:39:47Z","pushed_at":"2015-06-13T21:36:14Z","git_url":"git://github.com/geoffreyanderson/hubot.git","ssh_url":"git@github.com:geoffreyanderson/hubot.git","clone_url":"https://github.com/geoffreyanderson/hubot.git","svn_url":"https://github.com/geoffreyanderson/hubot","homepage":"http://hubot.github.com","size":1867,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"github:master","ref":"master","sha":"8125123739195dcdd2563961b83e1db6f525869d","user":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":2278524,"name":"hubot","full_name":"github/hubot","owner":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/github/hubot","description":"A customizable life embetterment robot.","fork":false,"url":"https://api.github.com/repos/github/hubot","forks_url":"https://api.github.com/repos/github/hubot/forks","keys_url":"https://api.github.com/repos/github/hubot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/hubot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/hubot/teams","hooks_url":"https://api.github.com/repos/github/hubot/hooks","issue_events_url":"https://api.github.com/repos/github/hubot/issues/events{/number}","events_url":"https://api.github.com/repos/github/hubot/events","assignees_url":"https://api.github.com/repos/github/hubot/assignees{/user}","branches_url":"https://api.github.com/repos/github/hubot/branches{/branch}","tags_url":"https://api.github.com/repos/github/hubot/tags","blobs_url":"https://api.github.com/repos/github/hubot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/hubot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/hubot/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/hubot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/hubot/statuses/{sha}","languages_url":"https://api.github.com/repos/github/hubot/languages","stargazers_url":"https://api.github.com/repos/github/hubot/stargazers","contributors_url":"https://api.github.com/repos/github/hubot/contributors","subscribers_url":"https://api.github.com/repos/github/hubot/subscribers","subscription_url":"https://api.github.com/repos/github/hubot/subscription","commits_url":"https://api.github.com/repos/github/hubot/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/hubot/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/hubot/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/hubot/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/hubot/contents/{+path}","compare_url":"https://api.github.com/repos/github/hubot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/hubot/merges","archive_url":"https://api.github.com/repos/github/hubot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/hubot/downloads","issues_url":"https://api.github.com/repos/github/hubot/issues{/number}","pulls_url":"https://api.github.com/repos/github/hubot/pulls{/number}","milestones_url":"https://api.github.com/repos/github/hubot/milestones{/number}","notifications_url":"https://api.github.com/repos/github/hubot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/hubot/labels{/name}","releases_url":"https://api.github.com/repos/github/hubot/releases{/id}","created_at":"2011-08-27T08:30:59Z","updated_at":"2015-06-15T11:53:29Z","pushed_at":"2015-06-14T08:48:14Z","git_url":"git://github.com/github/hubot.git","ssh_url":"git@github.com:github/hubot.git","clone_url":"https://github.com/github/hubot.git","svn_url":"https://github.com/github/hubot","homepage":"http://hubot.github.com","size":5900,"stargazers_count":8313,"watchers_count":8313,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1797,"mirror_url":null,"open_issues_count":83,"forks":1797,"open_issues":83,"watchers":8313,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/hubot/pulls/971"},"html":{"href":"https://github.com/github/hubot/pull/971"},"issue":{"href":"https://api.github.com/repos/github/hubot/issues/971"},"comments":{"href":"https://api.github.com/repos/github/hubot/issues/971/comments"},"review_comments":{"href":"https://api.github.com/repos/github/hubot/pulls/971/comments"},"review_comment":{"href":"https://api.github.com/repos/github/hubot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github/hubot/pulls/971/commits"},"statuses":{"href":"https://api.github.com/repos/github/hubot/statuses/bda9055cb40867a7d8719385a6b43689342ef516"}}}}