{"action":"opened","number":3572,"pull_request":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/3572","id":74020709,"html_url":"https://github.com/RocketChat/Rocket.Chat/pull/3572","diff_url":"https://github.com/RocketChat/Rocket.Chat/pull/3572.diff","patch_url":"https://github.com/RocketChat/Rocket.Chat/pull/3572.patch","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/3572","number":3572,"state":"open","locked":false,"title":"Fixes #3571: sort slash commands before filtering","user":{"login":"jeffreywescott","id":130597,"avatar_url":"https://avatars.githubusercontent.com/u/130597?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreywescott","html_url":"https://github.com/jeffreywescott","followers_url":"https://api.github.com/users/jeffreywescott/followers","following_url":"https://api.github.com/users/jeffreywescott/following{/other_user}","gists_url":"https://api.github.com/users/jeffreywescott/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreywescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreywescott/subscriptions","organizations_url":"https://api.github.com/users/jeffreywescott/orgs","repos_url":"https://api.github.com/users/jeffreywescott/repos","events_url":"https://api.github.com/users/jeffreywescott/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreywescott/received_events","type":"User","site_admin":false},"body":"<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->\r\n@RocketChat/core \r\n\r\n<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->\r\nCloses #3571\r\n\r\n<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->\r\n\r\nrather than breaking out of the loop after processing the 11th slash command, we will process all of the slash commands, sort them alphabetically, then return the top 11","created_at":"2016-06-16T04:28:04Z","updated_at":"2016-06-16T04:28:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/3572/commits","review_comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/3572/comments","review_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/3572/comments","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/d510e6d0c22ccaebcc09a6ee3d843729612d2cfd","head":{"label":"LearnersGuild:jw/sort-slash-commands-before-filtering","ref":"jw/sort-slash-commands-before-filtering","sha":"d510e6d0c22ccaebcc09a6ee3d843729612d2cfd","user":{"login":"LearnersGuild","id":14854339,"avatar_url":"https://avatars.githubusercontent.com/u/14854339?v=3","gravatar_id":"","url":"https://api.github.com/users/LearnersGuild","html_url":"https://github.com/LearnersGuild","followers_url":"https://api.github.com/users/LearnersGuild/followers","following_url":"https://api.github.com/users/LearnersGuild/following{/other_user}","gists_url":"https://api.github.com/users/LearnersGuild/gists{/gist_id}","starred_url":"https://api.github.com/users/LearnersGuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LearnersGuild/subscriptions","organizations_url":"https://api.github.com/users/LearnersGuild/orgs","repos_url":"https://api.github.com/users/LearnersGuild/repos","events_url":"https://api.github.com/users/LearnersGuild/events{/privacy}","received_events_url":"https://api.github.com/users/LearnersGuild/received_events","type":"Organization","site_admin":false},"repo":{"id":53085691,"name":"echo-chat","full_name":"LearnersGuild/echo-chat","owner":{"login":"LearnersGuild","id":14854339,"avatar_url":"https://avatars.githubusercontent.com/u/14854339?v=3","gravatar_id":"","url":"https://api.github.com/users/LearnersGuild","html_url":"https://github.com/LearnersGuild","followers_url":"https://api.github.com/users/LearnersGuild/followers","following_url":"https://api.github.com/users/LearnersGuild/following{/other_user}","gists_url":"https://api.github.com/users/LearnersGuild/gists{/gist_id}","starred_url":"https://api.github.com/users/LearnersGuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LearnersGuild/subscriptions","organizations_url":"https://api.github.com/users/LearnersGuild/orgs","repos_url":"https://api.github.com/users/LearnersGuild/repos","events_url":"https://api.github.com/users/LearnersGuild/events{/privacy}","received_events_url":"https://api.github.com/users/LearnersGuild/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LearnersGuild/echo-chat","description":"Have your own Slack like online chat, built with Meteor.","fork":true,"url":"https://api.github.com/repos/LearnersGuild/echo-chat","forks_url":"https://api.github.com/repos/LearnersGuild/echo-chat/forks","keys_url":"https://api.github.com/repos/LearnersGuild/echo-chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LearnersGuild/echo-chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LearnersGuild/echo-chat/teams","hooks_url":"https://api.github.com/repos/LearnersGuild/echo-chat/hooks","issue_events_url":"https://api.github.com/repos/LearnersGuild/echo-chat/issues/events{/number}","events_url":"https://api.github.com/repos/LearnersGuild/echo-chat/events","assignees_url":"https://api.github.com/repos/LearnersGuild/echo-chat/assignees{/user}","branches_url":"https://api.github.com/repos/LearnersGuild/echo-chat/branches{/branch}","tags_url":"https://api.github.com/repos/LearnersGuild/echo-chat/tags","blobs_url":"https://api.github.com/repos/LearnersGuild/echo-chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LearnersGuild/echo-chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LearnersGuild/echo-chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/LearnersGuild/echo-chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LearnersGuild/echo-chat/statuses/{sha}","languages_url":"https://api.github.com/repos/LearnersGuild/echo-chat/languages","stargazers_url":"https://api.github.com/repos/LearnersGuild/echo-chat/stargazers","contributors_url":"https://api.github.com/repos/LearnersGuild/echo-chat/contributors","subscribers_url":"https://api.github.com/repos/LearnersGuild/echo-chat/subscribers","subscription_url":"https://api.github.com/repos/LearnersGuild/echo-chat/subscription","commits_url":"https://api.github.com/repos/LearnersGuild/echo-chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/LearnersGuild/echo-chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/LearnersGuild/echo-chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/LearnersGuild/echo-chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/LearnersGuild/echo-chat/contents/{+path}","compare_url":"https://api.github.com/repos/LearnersGuild/echo-chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LearnersGuild/echo-chat/merges","archive_url":"https://api.github.com/repos/LearnersGuild/echo-chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LearnersGuild/echo-chat/downloads","issues_url":"https://api.github.com/repos/LearnersGuild/echo-chat/issues{/number}","pulls_url":"https://api.github.com/repos/LearnersGuild/echo-chat/pulls{/number}","milestones_url":"https://api.github.com/repos/LearnersGuild/echo-chat/milestones{/number}","notifications_url":"https://api.github.com/repos/LearnersGuild/echo-chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LearnersGuild/echo-chat/labels{/name}","releases_url":"https://api.github.com/repos/LearnersGuild/echo-chat/releases{/id}","deployments_url":"https://api.github.com/repos/LearnersGuild/echo-chat/deployments","created_at":"2016-03-03T21:32:36Z","updated_at":"2016-06-10T21:06:48Z","pushed_at":"2016-06-16T04:26:56Z","git_url":"git://github.com/LearnersGuild/echo-chat.git","ssh_url":"git@github.com:LearnersGuild/echo-chat.git","clone_url":"https://github.com/LearnersGuild/echo-chat.git","svn_url":"https://github.com/LearnersGuild/echo-chat","homepage":"https://rocket.chat/","size":36467,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"lg-master"}},"base":{"label":"RocketChat:develop","ref":"develop","sha":"ea004bee95cd091c34a8a096757f2c59f47647ce","user":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars.githubusercontent.com/u/12508788?v=3","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"repo":{"id":35866694,"name":"Rocket.Chat","full_name":"RocketChat/Rocket.Chat","owner":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars.githubusercontent.com/u/12508788?v=3","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RocketChat/Rocket.Chat","description":"Have your own Slack like online chat, built with Meteor.","fork":false,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat","forks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/forks","keys_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/teams","hooks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/hooks","issue_events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/events{/number}","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/events","assignees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/assignees{/user}","branches_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/branches{/branch}","tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/tags","blobs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/{sha}","languages_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/languages","stargazers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/stargazers","contributors_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/contributors","subscribers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/subscribers","subscription_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/subscription","commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/contents/{+path}","compare_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/merges","archive_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/downloads","issues_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues{/number}","pulls_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls{/number}","milestones_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones{/number}","notifications_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels{/name}","releases_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/releases{/id}","deployments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/deployments","created_at":"2015-05-19T07:36:09Z","updated_at":"2016-06-16T00:21:21Z","pushed_at":"2016-06-16T04:28:04Z","git_url":"git://github.com/RocketChat/Rocket.Chat.git","ssh_url":"git@github.com:RocketChat/Rocket.Chat.git","clone_url":"https://github.com/RocketChat/Rocket.Chat.git","svn_url":"https://github.com/RocketChat/Rocket.Chat","homepage":"https://rocket.chat/","size":50620,"stargazers_count":7480,"watchers_count":7480,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1575,"mirror_url":null,"open_issues_count":876,"forks":1575,"open_issues":876,"watchers":7480,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/3572"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat/pull/3572"},"issue":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/3572"},"comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/3572/comments"},"review_comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/3572/comments"},"review_comment":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/3572/commits"},"statuses":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/d510e6d0c22ccaebcc09a6ee3d843729612d2cfd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"jeffreywescott"}}