{"action":"created","comment":{"url":"https://api.github.com/repos/concierge/Kassy/pulls/comments/69258370","id":69258370,"diff_hunk":"@@ -0,0 +1,30 @@\n+﻿var messageCallback = null,\n+    maxLoopbackCount = 5;\n+\n+exports.getApi = function() {\n+    return null;\n+};\n+\n+exports.start = function (callback) {\n+    if (messageCallback) {\n+        throw \"Cannot start when already started.\";\n+    }\n+    messageCallback = callback;\n+};\n+\n+exports.stop = function () {\n+    if (!messageCallback) {\n+        throw \"Cannot stop when not already started.\";\n+    }\n+    messageCallback = null;\n+};\n+\n+exports.createLoopbackWrapper = function (func, platform) {\n+    return function (msg, thread) {\n+        var event = exports.createEvent(thread, 'senderId', 'name', msg + '');","path":"core/integrations/loopback.js","position":24,"original_position":24,"commit_id":"0a79ca84a98742f37d6ff0a2e3c585be262bd848","original_commit_id":"0a79ca84a98742f37d6ff0a2e3c585be262bd848","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Mixed double and single quotes.](https://www.codacy.com/app/theprojectshop/Kassy/file/2887489856/issues/source?bid=3282987&fileBranchId=3370178#l24)","created_at":"2016-07-01T07:08:21Z","updated_at":"2016-07-01T07:08:21Z","html_url":"https://github.com/concierge/Kassy/pull/175#discussion_r69258370","pull_request_url":"https://api.github.com/repos/concierge/Kassy/pulls/175","_links":{"self":{"href":"https://api.github.com/repos/concierge/Kassy/pulls/comments/69258370"},"html":{"href":"https://github.com/concierge/Kassy/pull/175#discussion_r69258370"},"pull_request":{"href":"https://api.github.com/repos/concierge/Kassy/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/concierge/Kassy/pulls/175","id":74413496,"html_url":"https://github.com/concierge/Kassy/pull/175","diff_url":"https://github.com/concierge/Kassy/pull/175.diff","patch_url":"https://github.com/concierge/Kassy/pull/175.patch","issue_url":"https://api.github.com/repos/concierge/Kassy/issues/175","number":175,"state":"open","locked":false,"title":"Feature/general feature enhancements","user":{"login":"mrkno","id":6830312,"avatar_url":"https://avatars.githubusercontent.com/u/6830312?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkno","html_url":"https://github.com/mrkno","followers_url":"https://api.github.com/users/mrkno/followers","following_url":"https://api.github.com/users/mrkno/following{/other_user}","gists_url":"https://api.github.com/users/mrkno/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkno/subscriptions","organizations_url":"https://api.github.com/users/mrkno/orgs","repos_url":"https://api.github.com/users/mrkno/repos","events_url":"https://api.github.com/users/mrkno/events{/privacy}","received_events_url":"https://api.github.com/users/mrkno/received_events","type":"User","site_admin":false},"body":"- Allow multiple matches of a module.\r\n- Fix error message returning [object Object] rather than name\r\n- Implement match counter\r\n- Resolve #151 permanently by removing logic that is no longer required\r\n- Fix lines in visual studio debugger\r\n- Make core modules and normal modules equivalent\r\n- Reduce reliance on requiring config while loading (potentially so it can be swapped out)\r\n- Implement means to manually get apis\r\n- Implement api to send message to multiple different chats\r\n- Update package.json for heroku\r\n- SIGINT will cause safe shutdown\r\n- KPM table URL can be customised\r\n\r\nStill Todo:\r\n- Full heroku deploy\r\n- Loopback\r\n- Localisation service\r\n- Priority sort of modules\r\n- Uninstallable core modules","created_at":"2016-06-20T09:29:33Z","updated_at":"2016-07-01T07:08:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/concierge/Kassy/milestones/5","html_url":"https://github.com/concierge/Kassy/milestones/4.0","labels_url":"https://api.github.com/repos/concierge/Kassy/milestones/5/labels","id":1591953,"number":5,"title":"4.0","description":"","creator":{"login":"mrkno","id":6830312,"avatar_url":"https://avatars.githubusercontent.com/u/6830312?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkno","html_url":"https://github.com/mrkno","followers_url":"https://api.github.com/users/mrkno/followers","following_url":"https://api.github.com/users/mrkno/following{/other_user}","gists_url":"https://api.github.com/users/mrkno/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkno/subscriptions","organizations_url":"https://api.github.com/users/mrkno/orgs","repos_url":"https://api.github.com/users/mrkno/repos","events_url":"https://api.github.com/users/mrkno/events{/privacy}","received_events_url":"https://api.github.com/users/mrkno/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":12,"state":"open","created_at":"2016-02-18T23:46:15Z","updated_at":"2016-06-20T09:29:33Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/concierge/Kassy/pulls/175/commits","review_comments_url":"https://api.github.com/repos/concierge/Kassy/pulls/175/comments","review_comment_url":"https://api.github.com/repos/concierge/Kassy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/concierge/Kassy/issues/175/comments","statuses_url":"https://api.github.com/repos/concierge/Kassy/statuses/0a79ca84a98742f37d6ff0a2e3c585be262bd848","head":{"label":"concierge:feature/general-feature-enhancements","ref":"feature/general-feature-enhancements","sha":"0a79ca84a98742f37d6ff0a2e3c585be262bd848","user":{"login":"concierge","id":18560428,"avatar_url":"https://avatars.githubusercontent.com/u/18560428?v=3","gravatar_id":"","url":"https://api.github.com/users/concierge","html_url":"https://github.com/concierge","followers_url":"https://api.github.com/users/concierge/followers","following_url":"https://api.github.com/users/concierge/following{/other_user}","gists_url":"https://api.github.com/users/concierge/gists{/gist_id}","starred_url":"https://api.github.com/users/concierge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concierge/subscriptions","organizations_url":"https://api.github.com/users/concierge/orgs","repos_url":"https://api.github.com/users/concierge/repos","events_url":"https://api.github.com/users/concierge/events{/privacy}","received_events_url":"https://api.github.com/users/concierge/received_events","type":"Organization","site_admin":false},"repo":{"id":39051419,"name":"Kassy","full_name":"concierge/Kassy","owner":{"login":"concierge","id":18560428,"avatar_url":"https://avatars.githubusercontent.com/u/18560428?v=3","gravatar_id":"","url":"https://api.github.com/users/concierge","html_url":"https://github.com/concierge","followers_url":"https://api.github.com/users/concierge/followers","following_url":"https://api.github.com/users/concierge/following{/other_user}","gists_url":"https://api.github.com/users/concierge/gists{/gist_id}","starred_url":"https://api.github.com/users/concierge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concierge/subscriptions","organizations_url":"https://api.github.com/users/concierge/orgs","repos_url":"https://api.github.com/users/concierge/repos","events_url":"https://api.github.com/users/concierge/events{/privacy}","received_events_url":"https://api.github.com/users/concierge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/concierge/Kassy","description":"Modular chat bot. (Karma + Sassy) * (Facebook + Slack) - Hipchat = Kassy","fork":false,"url":"https://api.github.com/repos/concierge/Kassy","forks_url":"https://api.github.com/repos/concierge/Kassy/forks","keys_url":"https://api.github.com/repos/concierge/Kassy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concierge/Kassy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concierge/Kassy/teams","hooks_url":"https://api.github.com/repos/concierge/Kassy/hooks","issue_events_url":"https://api.github.com/repos/concierge/Kassy/issues/events{/number}","events_url":"https://api.github.com/repos/concierge/Kassy/events","assignees_url":"https://api.github.com/repos/concierge/Kassy/assignees{/user}","branches_url":"https://api.github.com/repos/concierge/Kassy/branches{/branch}","tags_url":"https://api.github.com/repos/concierge/Kassy/tags","blobs_url":"https://api.github.com/repos/concierge/Kassy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concierge/Kassy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concierge/Kassy/git/refs{/sha}","trees_url":"https://api.github.com/repos/concierge/Kassy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concierge/Kassy/statuses/{sha}","languages_url":"https://api.github.com/repos/concierge/Kassy/languages","stargazers_url":"https://api.github.com/repos/concierge/Kassy/stargazers","contributors_url":"https://api.github.com/repos/concierge/Kassy/contributors","subscribers_url":"https://api.github.com/repos/concierge/Kassy/subscribers","subscription_url":"https://api.github.com/repos/concierge/Kassy/subscription","commits_url":"https://api.github.com/repos/concierge/Kassy/commits{/sha}","git_commits_url":"https://api.github.com/repos/concierge/Kassy/git/commits{/sha}","comments_url":"https://api.github.com/repos/concierge/Kassy/comments{/number}","issue_comment_url":"https://api.github.com/repos/concierge/Kassy/issues/comments{/number}","contents_url":"https://api.github.com/repos/concierge/Kassy/contents/{+path}","compare_url":"https://api.github.com/repos/concierge/Kassy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concierge/Kassy/merges","archive_url":"https://api.github.com/repos/concierge/Kassy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concierge/Kassy/downloads","issues_url":"https://api.github.com/repos/concierge/Kassy/issues{/number}","pulls_url":"https://api.github.com/repos/concierge/Kassy/pulls{/number}","milestones_url":"https://api.github.com/repos/concierge/Kassy/milestones{/number}","notifications_url":"https://api.github.com/repos/concierge/Kassy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concierge/Kassy/labels{/name}","releases_url":"https://api.github.com/repos/concierge/Kassy/releases{/id}","deployments_url":"https://api.github.com/repos/concierge/Kassy/deployments","created_at":"2015-07-14T03:27:54Z","updated_at":"2016-06-26T17:57:14Z","pushed_at":"2016-07-01T07:06:42Z","git_url":"git://github.com/concierge/Kassy.git","ssh_url":"git@github.com:concierge/Kassy.git","clone_url":"https://github.com/concierge/Kassy.git","svn_url":"https://github.com/concierge/Kassy","homepage":"","size":4869,"stargazers_count":61,"watchers_count":61,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":22,"forks":24,"open_issues":22,"watchers":61,"default_branch":"master"}},"base":{"label":"concierge:master","ref":"master","sha":"7ef26e298033e15c5dbb181a85f64dedd93e78f3","user":{"login":"concierge","id":18560428,"avatar_url":"https://avatars.githubusercontent.com/u/18560428?v=3","gravatar_id":"","url":"https://api.github.com/users/concierge","html_url":"https://github.com/concierge","followers_url":"https://api.github.com/users/concierge/followers","following_url":"https://api.github.com/users/concierge/following{/other_user}","gists_url":"https://api.github.com/users/concierge/gists{/gist_id}","starred_url":"https://api.github.com/users/concierge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concierge/subscriptions","organizations_url":"https://api.github.com/users/concierge/orgs","repos_url":"https://api.github.com/users/concierge/repos","events_url":"https://api.github.com/users/concierge/events{/privacy}","received_events_url":"https://api.github.com/users/concierge/received_events","type":"Organization","site_admin":false},"repo":{"id":39051419,"name":"Kassy","full_name":"concierge/Kassy","owner":{"login":"concierge","id":18560428,"avatar_url":"https://avatars.githubusercontent.com/u/18560428?v=3","gravatar_id":"","url":"https://api.github.com/users/concierge","html_url":"https://github.com/concierge","followers_url":"https://api.github.com/users/concierge/followers","following_url":"https://api.github.com/users/concierge/following{/other_user}","gists_url":"https://api.github.com/users/concierge/gists{/gist_id}","starred_url":"https://api.github.com/users/concierge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concierge/subscriptions","organizations_url":"https://api.github.com/users/concierge/orgs","repos_url":"https://api.github.com/users/concierge/repos","events_url":"https://api.github.com/users/concierge/events{/privacy}","received_events_url":"https://api.github.com/users/concierge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/concierge/Kassy","description":"Modular chat bot. (Karma + Sassy) * (Facebook + Slack) - Hipchat = Kassy","fork":false,"url":"https://api.github.com/repos/concierge/Kassy","forks_url":"https://api.github.com/repos/concierge/Kassy/forks","keys_url":"https://api.github.com/repos/concierge/Kassy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concierge/Kassy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concierge/Kassy/teams","hooks_url":"https://api.github.com/repos/concierge/Kassy/hooks","issue_events_url":"https://api.github.com/repos/concierge/Kassy/issues/events{/number}","events_url":"https://api.github.com/repos/concierge/Kassy/events","assignees_url":"https://api.github.com/repos/concierge/Kassy/assignees{/user}","branches_url":"https://api.github.com/repos/concierge/Kassy/branches{/branch}","tags_url":"https://api.github.com/repos/concierge/Kassy/tags","blobs_url":"https://api.github.com/repos/concierge/Kassy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concierge/Kassy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concierge/Kassy/git/refs{/sha}","trees_url":"https://api.github.com/repos/concierge/Kassy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concierge/Kassy/statuses/{sha}","languages_url":"https://api.github.com/repos/concierge/Kassy/languages","stargazers_url":"https://api.github.com/repos/concierge/Kassy/stargazers","contributors_url":"https://api.github.com/repos/concierge/Kassy/contributors","subscribers_url":"https://api.github.com/repos/concierge/Kassy/subscribers","subscription_url":"https://api.github.com/repos/concierge/Kassy/subscription","commits_url":"https://api.github.com/repos/concierge/Kassy/commits{/sha}","git_commits_url":"https://api.github.com/repos/concierge/Kassy/git/commits{/sha}","comments_url":"https://api.github.com/repos/concierge/Kassy/comments{/number}","issue_comment_url":"https://api.github.com/repos/concierge/Kassy/issues/comments{/number}","contents_url":"https://api.github.com/repos/concierge/Kassy/contents/{+path}","compare_url":"https://api.github.com/repos/concierge/Kassy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concierge/Kassy/merges","archive_url":"https://api.github.com/repos/concierge/Kassy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concierge/Kassy/downloads","issues_url":"https://api.github.com/repos/concierge/Kassy/issues{/number}","pulls_url":"https://api.github.com/repos/concierge/Kassy/pulls{/number}","milestones_url":"https://api.github.com/repos/concierge/Kassy/milestones{/number}","notifications_url":"https://api.github.com/repos/concierge/Kassy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concierge/Kassy/labels{/name}","releases_url":"https://api.github.com/repos/concierge/Kassy/releases{/id}","deployments_url":"https://api.github.com/repos/concierge/Kassy/deployments","created_at":"2015-07-14T03:27:54Z","updated_at":"2016-06-26T17:57:14Z","pushed_at":"2016-07-01T07:06:42Z","git_url":"git://github.com/concierge/Kassy.git","ssh_url":"git@github.com:concierge/Kassy.git","clone_url":"https://github.com/concierge/Kassy.git","svn_url":"https://github.com/concierge/Kassy","homepage":"","size":4869,"stargazers_count":61,"watchers_count":61,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":22,"forks":24,"open_issues":22,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/concierge/Kassy/pulls/175"},"html":{"href":"https://github.com/concierge/Kassy/pull/175"},"issue":{"href":"https://api.github.com/repos/concierge/Kassy/issues/175"},"comments":{"href":"https://api.github.com/repos/concierge/Kassy/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/concierge/Kassy/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/concierge/Kassy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/concierge/Kassy/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/concierge/Kassy/statuses/0a79ca84a98742f37d6ff0a2e3c585be262bd848"}}}}
{"actor":{"display_login":"codacy-bot"}}