{"action":"opened","number":115,"pull_request":{"url":"https://api.github.com/repos/DoSomething/gambit-conversations/pulls/115","id":140410535,"html_url":"https://github.com/DoSomething/gambit-conversations/pull/115","diff_url":"https://github.com/DoSomething/gambit-conversations/pull/115.diff","patch_url":"https://github.com/DoSomething/gambit-conversations/pull/115.patch","issue_url":"https://api.github.com/repos/DoSomething/gambit-conversations/issues/115","number":115,"state":"open","locked":false,"title":"Subscription status keywords","user":{"login":"aaronschachter","id":1236811,"avatar_url":"https://avatars2.githubusercontent.com/u/1236811?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronschachter","html_url":"https://github.com/aaronschachter","followers_url":"https://api.github.com/users/aaronschachter/followers","following_url":"https://api.github.com/users/aaronschachter/following{/other_user}","gists_url":"https://api.github.com/users/aaronschachter/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronschachter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronschachter/subscriptions","organizations_url":"https://api.github.com/users/aaronschachter/orgs","repos_url":"https://api.github.com/users/aaronschachter/repos","events_url":"https://api.github.com/users/aaronschachter/events{/privacy}","received_events_url":"https://api.github.com/users/aaronschachter/received_events","type":"User","site_admin":false},"body":"Refs #63:\r\n- Adds `less` and `stop` keywords and replies\r\n- Adds TODO for updating the Conversation User in Northstar accordingly\r\n\r\nNote: This isn't adding a property to the Conversation model. So far with our functionality, the only spot we'd ever potentially use would it be in a`/ POST send-message` request to prevent requests to unsubscribed conversations. If this is a requirement, it'd likely make more sense for each POST request to query Northstar to check the User's Subscription Status for the Conversation medium (or build sync support)\r\n\r\nThis also suggests that each time we receive a message from a User, we should store the last received message from the User. If we receive a message and the User's subscription status is `'unsubscribed'`, we should reset their subscription status to something like `'active'`, as the User has now opted into DS conversations again.\r\n\r\ncc @DFurnes ","created_at":"2017-09-11T19:00:53Z","updated_at":"2017-09-11T19:00:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/DoSomething/gambit-conversations/pulls/115/commits","review_comments_url":"https://api.github.com/repos/DoSomething/gambit-conversations/pulls/115/comments","review_comment_url":"https://api.github.com/repos/DoSomething/gambit-conversations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DoSomething/gambit-conversations/issues/115/comments","statuses_url":"https://api.github.com/repos/DoSomething/gambit-conversations/statuses/575743144ae365970705b46edcdad1dee2f6d7d9","head":{"label":"DoSomething:feature/63-less","ref":"feature/63-less","sha":"575743144ae365970705b46edcdad1dee2f6d7d9","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars2.githubusercontent.com/u/731685?v=4","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":93206005,"name":"gambit-conversations","full_name":"DoSomething/gambit-conversations","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars2.githubusercontent.com/u/731685?v=4","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/gambit-conversations","description":":black_joker: The DoSomething.org chatbot service for multi-platform conversations.","fork":false,"url":"https://api.github.com/repos/DoSomething/gambit-conversations","forks_url":"https://api.github.com/repos/DoSomething/gambit-conversations/forks","keys_url":"https://api.github.com/repos/DoSomething/gambit-conversations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/gambit-conversations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/gambit-conversations/teams","hooks_url":"https://api.github.com/repos/DoSomething/gambit-conversations/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/gambit-conversations/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/gambit-conversations/events","assignees_url":"https://api.github.com/repos/DoSomething/gambit-conversations/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/gambit-conversations/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/gambit-conversations/tags","blobs_url":"https://api.github.com/repos/DoSomething/gambit-conversations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/gambit-conversations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/gambit-conversations/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/gambit-conversations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/gambit-conversations/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/gambit-conversations/languages","stargazers_url":"https://api.github.com/repos/DoSomething/gambit-conversations/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/gambit-conversations/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/gambit-conversations/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/gambit-conversations/subscription","commits_url":"https://api.github.com/repos/DoSomething/gambit-conversations/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/gambit-conversations/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/gambit-conversations/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/gambit-conversations/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoSomething/gambit-conversations/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/gambit-conversations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/gambit-conversations/merges","archive_url":"https://api.github.com/repos/DoSomething/gambit-conversations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/gambit-conversations/downloads","issues_url":"https://api.github.com/repos/DoSomething/gambit-conversations/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/gambit-conversations/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/gambit-conversations/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/gambit-conversations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/gambit-conversations/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/gambit-conversations/releases{/id}","deployments_url":"https://api.github.com/repos/DoSomething/gambit-conversations/deployments","created_at":"2017-06-02T21:42:25Z","updated_at":"2017-09-07T21:38:17Z","pushed_at":"2017-09-11T18:47:30Z","git_url":"git://github.com/DoSomething/gambit-conversations.git","ssh_url":"git@github.com:DoSomething/gambit-conversations.git","clone_url":"https://github.com/DoSomething/gambit-conversations.git","svn_url":"https://github.com/DoSomething/gambit-conversations","homepage":"","size":406,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":1,"default_branch":"master"}},"base":{"label":"DoSomething:master","ref":"master","sha":"b7a826124bf6fdd2f9bbc6f2d55956152d50d393","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars2.githubusercontent.com/u/731685?v=4","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":93206005,"name":"gambit-conversations","full_name":"DoSomething/gambit-conversations","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars2.githubusercontent.com/u/731685?v=4","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/gambit-conversations","description":":black_joker: The DoSomething.org chatbot service for multi-platform conversations.","fork":false,"url":"https://api.github.com/repos/DoSomething/gambit-conversations","forks_url":"https://api.github.com/repos/DoSomething/gambit-conversations/forks","keys_url":"https://api.github.com/repos/DoSomething/gambit-conversations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/gambit-conversations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/gambit-conversations/teams","hooks_url":"https://api.github.com/repos/DoSomething/gambit-conversations/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/gambit-conversations/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/gambit-conversations/events","assignees_url":"https://api.github.com/repos/DoSomething/gambit-conversations/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/gambit-conversations/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/gambit-conversations/tags","blobs_url":"https://api.github.com/repos/DoSomething/gambit-conversations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/gambit-conversations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/gambit-conversations/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/gambit-conversations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/gambit-conversations/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/gambit-conversations/languages","stargazers_url":"https://api.github.com/repos/DoSomething/gambit-conversations/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/gambit-conversations/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/gambit-conversations/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/gambit-conversations/subscription","commits_url":"https://api.github.com/repos/DoSomething/gambit-conversations/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/gambit-conversations/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/gambit-conversations/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/gambit-conversations/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoSomething/gambit-conversations/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/gambit-conversations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/gambit-conversations/merges","archive_url":"https://api.github.com/repos/DoSomething/gambit-conversations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/gambit-conversations/downloads","issues_url":"https://api.github.com/repos/DoSomething/gambit-conversations/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/gambit-conversations/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/gambit-conversations/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/gambit-conversations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/gambit-conversations/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/gambit-conversations/releases{/id}","deployments_url":"https://api.github.com/repos/DoSomething/gambit-conversations/deployments","created_at":"2017-06-02T21:42:25Z","updated_at":"2017-09-07T21:38:17Z","pushed_at":"2017-09-11T18:47:30Z","git_url":"git://github.com/DoSomething/gambit-conversations.git","ssh_url":"git@github.com:DoSomething/gambit-conversations.git","clone_url":"https://github.com/DoSomething/gambit-conversations.git","svn_url":"https://github.com/DoSomething/gambit-conversations","homepage":"","size":406,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DoSomething/gambit-conversations/pulls/115"},"html":{"href":"https://github.com/DoSomething/gambit-conversations/pull/115"},"issue":{"href":"https://api.github.com/repos/DoSomething/gambit-conversations/issues/115"},"comments":{"href":"https://api.github.com/repos/DoSomething/gambit-conversations/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/DoSomething/gambit-conversations/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/DoSomething/gambit-conversations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DoSomething/gambit-conversations/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/DoSomething/gambit-conversations/statuses/575743144ae365970705b46edcdad1dee2f6d7d9"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":76,"deletions":7,"changed_files":6}}
{"actor":{"display_login":"aaronschachter"}}