{"action":"created","comment":{"url":"https://api.github.com/repos/cmyr/debt-bot/pulls/comments/73607803","id":73607803,"diff_hunk":"@@ -17,15 +17,15 @@\n import debt_utils\n from config import config\n \n-def handle_message(message):\n+def handle_message(command):\n     # 'help'","path":"slask.py","position":15,"original_position":15,"commit_id":"7af7e3cdb76bad0f7a7d55d9841552acee73e995","original_commit_id":"7af7e3cdb76bad0f7a7d55d9841552acee73e995","user":{"login":"cmyr","id":3330916,"avatar_url":"https://avatars.githubusercontent.com/u/3330916?v=3","gravatar_id":"","url":"https://api.github.com/users/cmyr","html_url":"https://github.com/cmyr","followers_url":"https://api.github.com/users/cmyr/followers","following_url":"https://api.github.com/users/cmyr/following{/other_user}","gists_url":"https://api.github.com/users/cmyr/gists{/gist_id}","starred_url":"https://api.github.com/users/cmyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmyr/subscriptions","organizations_url":"https://api.github.com/users/cmyr/orgs","repos_url":"https://api.github.com/users/cmyr/repos","events_url":"https://api.github.com/users/cmyr/events{/privacy}","received_events_url":"https://api.github.com/users/cmyr/received_events","type":"User","site_admin":false},"body":"I mean, it isn't a _command_ until we've parsed it and figured out if it's telling us anything? Also if I was going to rename the param I'd also rename the function. 😛 ","created_at":"2016-08-04T21:39:03Z","updated_at":"2016-08-04T21:39:03Z","html_url":"https://github.com/cmyr/debt-bot/pull/1#discussion_r73607803","pull_request_url":"https://api.github.com/repos/cmyr/debt-bot/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/cmyr/debt-bot/pulls/comments/73607803"},"html":{"href":"https://github.com/cmyr/debt-bot/pull/1#discussion_r73607803"},"pull_request":{"href":"https://api.github.com/repos/cmyr/debt-bot/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/cmyr/debt-bot/pulls/1","id":79470086,"html_url":"https://github.com/cmyr/debt-bot/pull/1","diff_url":"https://github.com/cmyr/debt-bot/pull/1.diff","patch_url":"https://github.com/cmyr/debt-bot/pull/1.patch","issue_url":"https://api.github.com/repos/cmyr/debt-bot/issues/1","number":1,"state":"open","locked":false,"title":"Update so that the appliction/json Content-Type is set","user":{"login":"sparks","id":222161,"avatar_url":"https://avatars.githubusercontent.com/u/222161?v=3","gravatar_id":"","url":"https://api.github.com/users/sparks","html_url":"https://github.com/sparks","followers_url":"https://api.github.com/users/sparks/followers","following_url":"https://api.github.com/users/sparks/following{/other_user}","gists_url":"https://api.github.com/users/sparks/gists{/gist_id}","starred_url":"https://api.github.com/users/sparks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparks/subscriptions","organizations_url":"https://api.github.com/users/sparks/orgs","repos_url":"https://api.github.com/users/sparks/repos","events_url":"https://api.github.com/users/sparks/events{/privacy}","received_events_url":"https://api.github.com/users/sparks/received_events","type":"User","site_admin":false},"body":"This will let it work properly as a slash command also. That way all our single-channel users can check their debt status\r\n\r\nAlthough there is a 3sec timeout on slack slash commands which we're close too ","created_at":"2016-07-30T22:47:58Z","updated_at":"2016-08-04T21:39:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0631dda1891d870488d2fb3d2c97122b84b9f31a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cmyr/debt-bot/pulls/1/commits","review_comments_url":"https://api.github.com/repos/cmyr/debt-bot/pulls/1/comments","review_comment_url":"https://api.github.com/repos/cmyr/debt-bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cmyr/debt-bot/issues/1/comments","statuses_url":"https://api.github.com/repos/cmyr/debt-bot/statuses/7af7e3cdb76bad0f7a7d55d9841552acee73e995","head":{"label":"sparks:master","ref":"master","sha":"7af7e3cdb76bad0f7a7d55d9841552acee73e995","user":{"login":"sparks","id":222161,"avatar_url":"https://avatars.githubusercontent.com/u/222161?v=3","gravatar_id":"","url":"https://api.github.com/users/sparks","html_url":"https://github.com/sparks","followers_url":"https://api.github.com/users/sparks/followers","following_url":"https://api.github.com/users/sparks/following{/other_user}","gists_url":"https://api.github.com/users/sparks/gists{/gist_id}","starred_url":"https://api.github.com/users/sparks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparks/subscriptions","organizations_url":"https://api.github.com/users/sparks/orgs","repos_url":"https://api.github.com/users/sparks/repos","events_url":"https://api.github.com/users/sparks/events{/privacy}","received_events_url":"https://api.github.com/users/sparks/received_events","type":"User","site_admin":false},"repo":{"id":64567105,"name":"debt-bot","full_name":"sparks/debt-bot","owner":{"login":"sparks","id":222161,"avatar_url":"https://avatars.githubusercontent.com/u/222161?v=3","gravatar_id":"","url":"https://api.github.com/users/sparks","html_url":"https://github.com/sparks","followers_url":"https://api.github.com/users/sparks/followers","following_url":"https://api.github.com/users/sparks/following{/other_user}","gists_url":"https://api.github.com/users/sparks/gists{/gist_id}","starred_url":"https://api.github.com/users/sparks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparks/subscriptions","organizations_url":"https://api.github.com/users/sparks/orgs","repos_url":"https://api.github.com/users/sparks/repos","events_url":"https://api.github.com/users/sparks/events{/privacy}","received_events_url":"https://api.github.com/users/sparks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sparks/debt-bot","description":"a debt tracking plugin for Slack","fork":true,"url":"https://api.github.com/repos/sparks/debt-bot","forks_url":"https://api.github.com/repos/sparks/debt-bot/forks","keys_url":"https://api.github.com/repos/sparks/debt-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sparks/debt-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sparks/debt-bot/teams","hooks_url":"https://api.github.com/repos/sparks/debt-bot/hooks","issue_events_url":"https://api.github.com/repos/sparks/debt-bot/issues/events{/number}","events_url":"https://api.github.com/repos/sparks/debt-bot/events","assignees_url":"https://api.github.com/repos/sparks/debt-bot/assignees{/user}","branches_url":"https://api.github.com/repos/sparks/debt-bot/branches{/branch}","tags_url":"https://api.github.com/repos/sparks/debt-bot/tags","blobs_url":"https://api.github.com/repos/sparks/debt-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sparks/debt-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sparks/debt-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/sparks/debt-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sparks/debt-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/sparks/debt-bot/languages","stargazers_url":"https://api.github.com/repos/sparks/debt-bot/stargazers","contributors_url":"https://api.github.com/repos/sparks/debt-bot/contributors","subscribers_url":"https://api.github.com/repos/sparks/debt-bot/subscribers","subscription_url":"https://api.github.com/repos/sparks/debt-bot/subscription","commits_url":"https://api.github.com/repos/sparks/debt-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/sparks/debt-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/sparks/debt-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/sparks/debt-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/sparks/debt-bot/contents/{+path}","compare_url":"https://api.github.com/repos/sparks/debt-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sparks/debt-bot/merges","archive_url":"https://api.github.com/repos/sparks/debt-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sparks/debt-bot/downloads","issues_url":"https://api.github.com/repos/sparks/debt-bot/issues{/number}","pulls_url":"https://api.github.com/repos/sparks/debt-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/sparks/debt-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/sparks/debt-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sparks/debt-bot/labels{/name}","releases_url":"https://api.github.com/repos/sparks/debt-bot/releases{/id}","deployments_url":"https://api.github.com/repos/sparks/debt-bot/deployments","created_at":"2016-07-30T22:45:51Z","updated_at":"2016-07-30T22:45:52Z","pushed_at":"2016-07-30T22:47:16Z","git_url":"git://github.com/sparks/debt-bot.git","ssh_url":"git@github.com:sparks/debt-bot.git","clone_url":"https://github.com/sparks/debt-bot.git","svn_url":"https://github.com/sparks/debt-bot","homepage":"","size":4125,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"cmyr:master","ref":"master","sha":"82a4ba13becef7b8113d95662b71ffc0065242e6","user":{"login":"cmyr","id":3330916,"avatar_url":"https://avatars.githubusercontent.com/u/3330916?v=3","gravatar_id":"","url":"https://api.github.com/users/cmyr","html_url":"https://github.com/cmyr","followers_url":"https://api.github.com/users/cmyr/followers","following_url":"https://api.github.com/users/cmyr/following{/other_user}","gists_url":"https://api.github.com/users/cmyr/gists{/gist_id}","starred_url":"https://api.github.com/users/cmyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmyr/subscriptions","organizations_url":"https://api.github.com/users/cmyr/orgs","repos_url":"https://api.github.com/users/cmyr/repos","events_url":"https://api.github.com/users/cmyr/events{/privacy}","received_events_url":"https://api.github.com/users/cmyr/received_events","type":"User","site_admin":false},"repo":{"id":27895145,"name":"debt-bot","full_name":"cmyr/debt-bot","owner":{"login":"cmyr","id":3330916,"avatar_url":"https://avatars.githubusercontent.com/u/3330916?v=3","gravatar_id":"","url":"https://api.github.com/users/cmyr","html_url":"https://github.com/cmyr","followers_url":"https://api.github.com/users/cmyr/followers","following_url":"https://api.github.com/users/cmyr/following{/other_user}","gists_url":"https://api.github.com/users/cmyr/gists{/gist_id}","starred_url":"https://api.github.com/users/cmyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmyr/subscriptions","organizations_url":"https://api.github.com/users/cmyr/orgs","repos_url":"https://api.github.com/users/cmyr/repos","events_url":"https://api.github.com/users/cmyr/events{/privacy}","received_events_url":"https://api.github.com/users/cmyr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmyr/debt-bot","description":"a debt tracking plugin for Slack","fork":false,"url":"https://api.github.com/repos/cmyr/debt-bot","forks_url":"https://api.github.com/repos/cmyr/debt-bot/forks","keys_url":"https://api.github.com/repos/cmyr/debt-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmyr/debt-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmyr/debt-bot/teams","hooks_url":"https://api.github.com/repos/cmyr/debt-bot/hooks","issue_events_url":"https://api.github.com/repos/cmyr/debt-bot/issues/events{/number}","events_url":"https://api.github.com/repos/cmyr/debt-bot/events","assignees_url":"https://api.github.com/repos/cmyr/debt-bot/assignees{/user}","branches_url":"https://api.github.com/repos/cmyr/debt-bot/branches{/branch}","tags_url":"https://api.github.com/repos/cmyr/debt-bot/tags","blobs_url":"https://api.github.com/repos/cmyr/debt-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmyr/debt-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmyr/debt-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmyr/debt-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmyr/debt-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/cmyr/debt-bot/languages","stargazers_url":"https://api.github.com/repos/cmyr/debt-bot/stargazers","contributors_url":"https://api.github.com/repos/cmyr/debt-bot/contributors","subscribers_url":"https://api.github.com/repos/cmyr/debt-bot/subscribers","subscription_url":"https://api.github.com/repos/cmyr/debt-bot/subscription","commits_url":"https://api.github.com/repos/cmyr/debt-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmyr/debt-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmyr/debt-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmyr/debt-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmyr/debt-bot/contents/{+path}","compare_url":"https://api.github.com/repos/cmyr/debt-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmyr/debt-bot/merges","archive_url":"https://api.github.com/repos/cmyr/debt-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmyr/debt-bot/downloads","issues_url":"https://api.github.com/repos/cmyr/debt-bot/issues{/number}","pulls_url":"https://api.github.com/repos/cmyr/debt-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/cmyr/debt-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/cmyr/debt-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmyr/debt-bot/labels{/name}","releases_url":"https://api.github.com/repos/cmyr/debt-bot/releases{/id}","deployments_url":"https://api.github.com/repos/cmyr/debt-bot/deployments","created_at":"2014-12-11T22:39:46Z","updated_at":"2015-05-05T23:17:43Z","pushed_at":"2016-07-30T22:47:58Z","git_url":"git://github.com/cmyr/debt-bot.git","ssh_url":"git@github.com:cmyr/debt-bot.git","clone_url":"https://github.com/cmyr/debt-bot.git","svn_url":"https://github.com/cmyr/debt-bot","homepage":"","size":4276,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cmyr/debt-bot/pulls/1"},"html":{"href":"https://github.com/cmyr/debt-bot/pull/1"},"issue":{"href":"https://api.github.com/repos/cmyr/debt-bot/issues/1"},"comments":{"href":"https://api.github.com/repos/cmyr/debt-bot/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/cmyr/debt-bot/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/cmyr/debt-bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cmyr/debt-bot/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/cmyr/debt-bot/statuses/7af7e3cdb76bad0f7a7d55d9841552acee73e995"}}}}
{"actor":{"display_login":"cmyr"}}