{"action":"created","comment":{"url":"https://api.github.com/repos/Nifler/nifler.com/pulls/comments/235680309","pull_request_review_id":177599667,"id":235680309,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTY4MDMwOQ==","diff_hunk":"@@ -0,0 +1,61 @@\n+<?php\n+\n+namespace App\\Services\\BotPool;\n+\n+\n+use App\\Services\\BotPool\\Bot\\ {\n+    Bot,\n+    CommandService,\n+    Genome\n+};\n+use App\\Services\\BotPool\\Pool\\ {\n+    Pool,\n+    PoolPixel\n+};\n+use Illuminate\\Support\\ServiceProvider;\n+\n+class BotPoolServiceProvider extends ServiceProvider\n+{\n+    /**\n+     * Bootstrap the application services.\n+     *\n+     * @return void\n+     */\n+    public function boot()\n+    {\n+        //\n+    }\n+\n+    /**\n+     * Register the application services.\n+     *\n+     * @return void\n+     */\n+    public function register()\n+    {\n+        $this->app->bind(CommandService::class, function ($app) {\n+            return new CommandService();\n+        });\n+\n+        $this->app->bind(Genome::class, function ($app) {\n+            return new Genome($app->make(CommandService::class));\n+        });\n+\n+        $this->app->bind(Bot::class, function ($app) {","path":"app/Services/BotPool/BotPoolServiceProvider.php","position":44,"original_position":44,"commit_id":"3a5e9795a9f70133a1b3ca89488a4372f92a9a1c","original_commit_id":"3a5e9795a9f70133a1b3ca89488a4372f92a9a1c","user":{"login":"Nifler","id":14111074,"node_id":"MDQ6VXNlcjE0MTExMDc0","avatar_url":"https://avatars2.githubusercontent.com/u/14111074?v=4","gravatar_id":"","url":"https://api.github.com/users/Nifler","html_url":"https://github.com/Nifler","followers_url":"https://api.github.com/users/Nifler/followers","following_url":"https://api.github.com/users/Nifler/following{/other_user}","gists_url":"https://api.github.com/users/Nifler/gists{/gist_id}","starred_url":"https://api.github.com/users/Nifler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nifler/subscriptions","organizations_url":"https://api.github.com/users/Nifler/orgs","repos_url":"https://api.github.com/users/Nifler/repos","events_url":"https://api.github.com/users/Nifler/events{/privacy}","received_events_url":"https://api.github.com/users/Nifler/received_events","type":"User","site_admin":false},"body":"он здесь не нужен - выпилить и создавать при создании первого организма. следующие только клонированием","created_at":"2018-11-22T10:49:21Z","updated_at":"2018-11-22T10:49:21Z","html_url":"https://github.com/Nifler/nifler.com/pull/5#discussion_r235680309","pull_request_url":"https://api.github.com/repos/Nifler/nifler.com/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Nifler/nifler.com/pulls/comments/235680309"},"html":{"href":"https://github.com/Nifler/nifler.com/pull/5#discussion_r235680309"},"pull_request":{"href":"https://api.github.com/repos/Nifler/nifler.com/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Nifler/nifler.com/pulls/5","id":222441345,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNDQxMzQ1","html_url":"https://github.com/Nifler/nifler.com/pull/5","diff_url":"https://github.com/Nifler/nifler.com/pull/5.diff","patch_url":"https://github.com/Nifler/nifler.com/pull/5.patch","issue_url":"https://api.github.com/repos/Nifler/nifler.com/issues/5","number":5,"state":"open","locked":false,"title":"Bot pool","user":{"login":"Nifler","id":14111074,"node_id":"MDQ6VXNlcjE0MTExMDc0","avatar_url":"https://avatars2.githubusercontent.com/u/14111074?v=4","gravatar_id":"","url":"https://api.github.com/users/Nifler","html_url":"https://github.com/Nifler","followers_url":"https://api.github.com/users/Nifler/followers","following_url":"https://api.github.com/users/Nifler/following{/other_user}","gists_url":"https://api.github.com/users/Nifler/gists{/gist_id}","starred_url":"https://api.github.com/users/Nifler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nifler/subscriptions","organizations_url":"https://api.github.com/users/Nifler/orgs","repos_url":"https://api.github.com/users/Nifler/repos","events_url":"https://api.github.com/users/Nifler/events{/privacy}","received_events_url":"https://api.github.com/users/Nifler/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-12T11:52:21Z","updated_at":"2018-11-22T10:49:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c81cf771887448df856afef1eab2af35321bf860","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Nifler/nifler.com/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Nifler/nifler.com/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Nifler/nifler.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Nifler/nifler.com/issues/5/comments","statuses_url":"https://api.github.com/repos/Nifler/nifler.com/statuses/3a5e9795a9f70133a1b3ca89488a4372f92a9a1c","head":{"label":"Nifler:botPool","ref":"botPool","sha":"3a5e9795a9f70133a1b3ca89488a4372f92a9a1c","user":{"login":"Nifler","id":14111074,"node_id":"MDQ6VXNlcjE0MTExMDc0","avatar_url":"https://avatars2.githubusercontent.com/u/14111074?v=4","gravatar_id":"","url":"https://api.github.com/users/Nifler","html_url":"https://github.com/Nifler","followers_url":"https://api.github.com/users/Nifler/followers","following_url":"https://api.github.com/users/Nifler/following{/other_user}","gists_url":"https://api.github.com/users/Nifler/gists{/gist_id}","starred_url":"https://api.github.com/users/Nifler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nifler/subscriptions","organizations_url":"https://api.github.com/users/Nifler/orgs","repos_url":"https://api.github.com/users/Nifler/repos","events_url":"https://api.github.com/users/Nifler/events{/privacy}","received_events_url":"https://api.github.com/users/Nifler/received_events","type":"User","site_admin":false},"repo":{"id":79559748,"node_id":"MDEwOlJlcG9zaXRvcnk3OTU1OTc0OA==","name":"nifler.com","full_name":"Nifler/nifler.com","private":false,"owner":{"login":"Nifler","id":14111074,"node_id":"MDQ6VXNlcjE0MTExMDc0","avatar_url":"https://avatars2.githubusercontent.com/u/14111074?v=4","gravatar_id":"","url":"https://api.github.com/users/Nifler","html_url":"https://github.com/Nifler","followers_url":"https://api.github.com/users/Nifler/followers","following_url":"https://api.github.com/users/Nifler/following{/other_user}","gists_url":"https://api.github.com/users/Nifler/gists{/gist_id}","starred_url":"https://api.github.com/users/Nifler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nifler/subscriptions","organizations_url":"https://api.github.com/users/Nifler/orgs","repos_url":"https://api.github.com/users/Nifler/repos","events_url":"https://api.github.com/users/Nifler/events{/privacy}","received_events_url":"https://api.github.com/users/Nifler/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Nifler/nifler.com","description":"Something strange","fork":false,"url":"https://api.github.com/repos/Nifler/nifler.com","forks_url":"https://api.github.com/repos/Nifler/nifler.com/forks","keys_url":"https://api.github.com/repos/Nifler/nifler.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nifler/nifler.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nifler/nifler.com/teams","hooks_url":"https://api.github.com/repos/Nifler/nifler.com/hooks","issue_events_url":"https://api.github.com/repos/Nifler/nifler.com/issues/events{/number}","events_url":"https://api.github.com/repos/Nifler/nifler.com/events","assignees_url":"https://api.github.com/repos/Nifler/nifler.com/assignees{/user}","branches_url":"https://api.github.com/repos/Nifler/nifler.com/branches{/branch}","tags_url":"https://api.github.com/repos/Nifler/nifler.com/tags","blobs_url":"https://api.github.com/repos/Nifler/nifler.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nifler/nifler.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nifler/nifler.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nifler/nifler.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nifler/nifler.com/statuses/{sha}","languages_url":"https://api.github.com/repos/Nifler/nifler.com/languages","stargazers_url":"https://api.github.com/repos/Nifler/nifler.com/stargazers","contributors_url":"https://api.github.com/repos/Nifler/nifler.com/contributors","subscribers_url":"https://api.github.com/repos/Nifler/nifler.com/subscribers","subscription_url":"https://api.github.com/repos/Nifler/nifler.com/subscription","commits_url":"https://api.github.com/repos/Nifler/nifler.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nifler/nifler.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nifler/nifler.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nifler/nifler.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nifler/nifler.com/contents/{+path}","compare_url":"https://api.github.com/repos/Nifler/nifler.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nifler/nifler.com/merges","archive_url":"https://api.github.com/repos/Nifler/nifler.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nifler/nifler.com/downloads","issues_url":"https://api.github.com/repos/Nifler/nifler.com/issues{/number}","pulls_url":"https://api.github.com/repos/Nifler/nifler.com/pulls{/number}","milestones_url":"https://api.github.com/repos/Nifler/nifler.com/milestones{/number}","notifications_url":"https://api.github.com/repos/Nifler/nifler.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nifler/nifler.com/labels{/name}","releases_url":"https://api.github.com/repos/Nifler/nifler.com/releases{/id}","deployments_url":"https://api.github.com/repos/Nifler/nifler.com/deployments","created_at":"2017-01-20T13:05:58Z","updated_at":"2018-11-14T12:14:04Z","pushed_at":"2018-11-22T08:48:15Z","git_url":"git://github.com/Nifler/nifler.com.git","ssh_url":"git@github.com:Nifler/nifler.com.git","clone_url":"https://github.com/Nifler/nifler.com.git","svn_url":"https://github.com/Nifler/nifler.com","homepage":null,"size":6812,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Nifler:master","ref":"master","sha":"3b9f2b86d6670951d467b20575baa1ac992c44fd","user":{"login":"Nifler","id":14111074,"node_id":"MDQ6VXNlcjE0MTExMDc0","avatar_url":"https://avatars2.githubusercontent.com/u/14111074?v=4","gravatar_id":"","url":"https://api.github.com/users/Nifler","html_url":"https://github.com/Nifler","followers_url":"https://api.github.com/users/Nifler/followers","following_url":"https://api.github.com/users/Nifler/following{/other_user}","gists_url":"https://api.github.com/users/Nifler/gists{/gist_id}","starred_url":"https://api.github.com/users/Nifler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nifler/subscriptions","organizations_url":"https://api.github.com/users/Nifler/orgs","repos_url":"https://api.github.com/users/Nifler/repos","events_url":"https://api.github.com/users/Nifler/events{/privacy}","received_events_url":"https://api.github.com/users/Nifler/received_events","type":"User","site_admin":false},"repo":{"id":79559748,"node_id":"MDEwOlJlcG9zaXRvcnk3OTU1OTc0OA==","name":"nifler.com","full_name":"Nifler/nifler.com","private":false,"owner":{"login":"Nifler","id":14111074,"node_id":"MDQ6VXNlcjE0MTExMDc0","avatar_url":"https://avatars2.githubusercontent.com/u/14111074?v=4","gravatar_id":"","url":"https://api.github.com/users/Nifler","html_url":"https://github.com/Nifler","followers_url":"https://api.github.com/users/Nifler/followers","following_url":"https://api.github.com/users/Nifler/following{/other_user}","gists_url":"https://api.github.com/users/Nifler/gists{/gist_id}","starred_url":"https://api.github.com/users/Nifler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nifler/subscriptions","organizations_url":"https://api.github.com/users/Nifler/orgs","repos_url":"https://api.github.com/users/Nifler/repos","events_url":"https://api.github.com/users/Nifler/events{/privacy}","received_events_url":"https://api.github.com/users/Nifler/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Nifler/nifler.com","description":"Something strange","fork":false,"url":"https://api.github.com/repos/Nifler/nifler.com","forks_url":"https://api.github.com/repos/Nifler/nifler.com/forks","keys_url":"https://api.github.com/repos/Nifler/nifler.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nifler/nifler.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nifler/nifler.com/teams","hooks_url":"https://api.github.com/repos/Nifler/nifler.com/hooks","issue_events_url":"https://api.github.com/repos/Nifler/nifler.com/issues/events{/number}","events_url":"https://api.github.com/repos/Nifler/nifler.com/events","assignees_url":"https://api.github.com/repos/Nifler/nifler.com/assignees{/user}","branches_url":"https://api.github.com/repos/Nifler/nifler.com/branches{/branch}","tags_url":"https://api.github.com/repos/Nifler/nifler.com/tags","blobs_url":"https://api.github.com/repos/Nifler/nifler.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nifler/nifler.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nifler/nifler.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nifler/nifler.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nifler/nifler.com/statuses/{sha}","languages_url":"https://api.github.com/repos/Nifler/nifler.com/languages","stargazers_url":"https://api.github.com/repos/Nifler/nifler.com/stargazers","contributors_url":"https://api.github.com/repos/Nifler/nifler.com/contributors","subscribers_url":"https://api.github.com/repos/Nifler/nifler.com/subscribers","subscription_url":"https://api.github.com/repos/Nifler/nifler.com/subscription","commits_url":"https://api.github.com/repos/Nifler/nifler.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nifler/nifler.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nifler/nifler.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nifler/nifler.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nifler/nifler.com/contents/{+path}","compare_url":"https://api.github.com/repos/Nifler/nifler.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nifler/nifler.com/merges","archive_url":"https://api.github.com/repos/Nifler/nifler.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nifler/nifler.com/downloads","issues_url":"https://api.github.com/repos/Nifler/nifler.com/issues{/number}","pulls_url":"https://api.github.com/repos/Nifler/nifler.com/pulls{/number}","milestones_url":"https://api.github.com/repos/Nifler/nifler.com/milestones{/number}","notifications_url":"https://api.github.com/repos/Nifler/nifler.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nifler/nifler.com/labels{/name}","releases_url":"https://api.github.com/repos/Nifler/nifler.com/releases{/id}","deployments_url":"https://api.github.com/repos/Nifler/nifler.com/deployments","created_at":"2017-01-20T13:05:58Z","updated_at":"2018-11-14T12:14:04Z","pushed_at":"2018-11-22T08:48:15Z","git_url":"git://github.com/Nifler/nifler.com.git","ssh_url":"git@github.com:Nifler/nifler.com.git","clone_url":"https://github.com/Nifler/nifler.com.git","svn_url":"https://github.com/Nifler/nifler.com","homepage":null,"size":6812,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Nifler/nifler.com/pulls/5"},"html":{"href":"https://github.com/Nifler/nifler.com/pull/5"},"issue":{"href":"https://api.github.com/repos/Nifler/nifler.com/issues/5"},"comments":{"href":"https://api.github.com/repos/Nifler/nifler.com/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Nifler/nifler.com/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Nifler/nifler.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Nifler/nifler.com/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Nifler/nifler.com/statuses/3a5e9795a9f70133a1b3ca89488a4372f92a9a1c"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Nifler"}}