{"action":"created","comment":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/86913823","pull_request_review_id":7547625,"id":86913823,"diff_hunk":"@@ -0,0 +1,26 @@\n+require 'telegram/bot'\n+require_relative 'lib/mp_telegram_bot'\n+require 'webrick'\n+require 'redis'\n+require 'time_diff'\n+require_relative 'lib/server'\n+require_relative 'lib/friendly_date'\n+require_relative 'lib/exceptions'\n+require_relative 'lib/modified_hash'\n+require_relative 'lib/bot'\n+require_relative 'lib/bot_command'\n+require_relative 'lib/bot_command_start'\n+require_relative 'lib/bot_command_semester'\n+require_relative 'lib/bot_command_subject'\n+require_relative 'lib/bot_command_status'\n+require_relative 'lib/bot_command_submit'\n+require_relative 'lib/bot_command_reset'\n+require_relative 'lib/bot_command_handler'\n+\n+server = WEBrick::HTTPServer.new(Port: 8000)\n+\n+server.mount '/', Server","path":"2016/NikitaKolokoltsev/homework-2/telegram_bot.rb","position":22,"original_position":22,"commit_id":"db37157cb893a289933deb839cdb143145d24277","original_commit_id":"db37157cb893a289933deb839cdb143145d24277","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2016-11-08T02:36:58Z","updated_at":"2016-11-08T02:36:58Z","html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/502#discussion_r86913823","pull_request_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/502","_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/86913823"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/502#discussion_r86913823"},"pull_request":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/502"}}},"pull_request":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/502","id":92705137,"html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/502","diff_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/502.diff","patch_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/502.patch","issue_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/502","number":502,"state":"open","locked":false,"title":"Homework 2","user":{"login":"NikitaKolokoltsev","id":15002250,"avatar_url":"https://avatars.githubusercontent.com/u/15002250?v=3","gravatar_id":"","url":"https://api.github.com/users/NikitaKolokoltsev","html_url":"https://github.com/NikitaKolokoltsev","followers_url":"https://api.github.com/users/NikitaKolokoltsev/followers","following_url":"https://api.github.com/users/NikitaKolokoltsev/following{/other_user}","gists_url":"https://api.github.com/users/NikitaKolokoltsev/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaKolokoltsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaKolokoltsev/subscriptions","organizations_url":"https://api.github.com/users/NikitaKolokoltsev/orgs","repos_url":"https://api.github.com/users/NikitaKolokoltsev/repos","events_url":"https://api.github.com/users/NikitaKolokoltsev/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaKolokoltsev/received_events","type":"User","site_admin":false},"body":"## Фамилия Имя\r\nКолокольцев Никита\r\n\r\n## Email\r\nnikita.kolokoltsev@yahoo.com\r\n\r\n## Номер домашнего задания\r\n2\r\n\r\n## Ссылка на видео с демо работы\r\nПотом запишу\r\n\r\n## Комментарии\r\n2 уровень.\r\nВебхуки.\r\n","created_at":"2016-11-08T02:36:40Z","updated_at":"2016-11-08T02:36:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"280251abd1b437499a7765c33e1da9870b2214fe","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/502/commits","review_comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/502/comments","review_comment_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/502/comments","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/db37157cb893a289933deb839cdb143145d24277","head":{"label":"NikitaKolokoltsev:homework-2","ref":"homework-2","sha":"db37157cb893a289933deb839cdb143145d24277","user":{"login":"NikitaKolokoltsev","id":15002250,"avatar_url":"https://avatars.githubusercontent.com/u/15002250?v=3","gravatar_id":"","url":"https://api.github.com/users/NikitaKolokoltsev","html_url":"https://github.com/NikitaKolokoltsev","followers_url":"https://api.github.com/users/NikitaKolokoltsev/followers","following_url":"https://api.github.com/users/NikitaKolokoltsev/following{/other_user}","gists_url":"https://api.github.com/users/NikitaKolokoltsev/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaKolokoltsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaKolokoltsev/subscriptions","organizations_url":"https://api.github.com/users/NikitaKolokoltsev/orgs","repos_url":"https://api.github.com/users/NikitaKolokoltsev/repos","events_url":"https://api.github.com/users/NikitaKolokoltsev/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaKolokoltsev/received_events","type":"User","site_admin":false},"repo":{"id":71253167,"name":"bsuir-courses","full_name":"NikitaKolokoltsev/bsuir-courses","owner":{"login":"NikitaKolokoltsev","id":15002250,"avatar_url":"https://avatars.githubusercontent.com/u/15002250?v=3","gravatar_id":"","url":"https://api.github.com/users/NikitaKolokoltsev","html_url":"https://github.com/NikitaKolokoltsev","followers_url":"https://api.github.com/users/NikitaKolokoltsev/followers","following_url":"https://api.github.com/users/NikitaKolokoltsev/following{/other_user}","gists_url":"https://api.github.com/users/NikitaKolokoltsev/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaKolokoltsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaKolokoltsev/subscriptions","organizations_url":"https://api.github.com/users/NikitaKolokoltsev/orgs","repos_url":"https://api.github.com/users/NikitaKolokoltsev/repos","events_url":"https://api.github.com/users/NikitaKolokoltsev/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaKolokoltsev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NikitaKolokoltsev/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":true,"url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses","forks_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/forks","keys_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/events","assignees_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/merges","archive_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/releases{/id}","deployments_url":"https://api.github.com/repos/NikitaKolokoltsev/bsuir-courses/deployments","created_at":"2016-10-18T13:49:54Z","updated_at":"2016-10-18T13:49:56Z","pushed_at":"2016-11-08T02:35:26Z","git_url":"git://github.com/NikitaKolokoltsev/bsuir-courses.git","ssh_url":"git@github.com:NikitaKolokoltsev/bsuir-courses.git","clone_url":"https://github.com/NikitaKolokoltsev/bsuir-courses.git","svn_url":"https://github.com/NikitaKolokoltsev/bsuir-courses","homepage":null,"size":2096,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"rubyroidlabs:master","ref":"master","sha":"a5d24b15340b7a7fff4951d6fa2f793eb28dc648","user":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars.githubusercontent.com/u/5137565?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyroidlabs","html_url":"https://github.com/rubyroidlabs","followers_url":"https://api.github.com/users/rubyroidlabs/followers","following_url":"https://api.github.com/users/rubyroidlabs/following{/other_user}","gists_url":"https://api.github.com/users/rubyroidlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyroidlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyroidlabs/subscriptions","organizations_url":"https://api.github.com/users/rubyroidlabs/orgs","repos_url":"https://api.github.com/users/rubyroidlabs/repos","events_url":"https://api.github.com/users/rubyroidlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rubyroidlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":14405320,"name":"bsuir-courses","full_name":"rubyroidlabs/bsuir-courses","owner":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars.githubusercontent.com/u/5137565?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyroidlabs","html_url":"https://github.com/rubyroidlabs","followers_url":"https://api.github.com/users/rubyroidlabs/followers","following_url":"https://api.github.com/users/rubyroidlabs/following{/other_user}","gists_url":"https://api.github.com/users/rubyroidlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyroidlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyroidlabs/subscriptions","organizations_url":"https://api.github.com/users/rubyroidlabs/orgs","repos_url":"https://api.github.com/users/rubyroidlabs/repos","events_url":"https://api.github.com/users/rubyroidlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rubyroidlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubyroidlabs/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":false,"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses","forks_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/forks","keys_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/events","assignees_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/merges","archive_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/releases{/id}","deployments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/deployments","created_at":"2013-11-14T19:55:12Z","updated_at":"2016-11-03T04:38:40Z","pushed_at":"2016-11-08T02:36:40Z","git_url":"git://github.com/rubyroidlabs/bsuir-courses.git","ssh_url":"git@github.com:rubyroidlabs/bsuir-courses.git","clone_url":"https://github.com/rubyroidlabs/bsuir-courses.git","svn_url":"https://github.com/rubyroidlabs/bsuir-courses","homepage":null,"size":12327,"stargazers_count":31,"watchers_count":31,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":175,"mirror_url":null,"open_issues_count":21,"forks":175,"open_issues":21,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/502"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/502"},"issue":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/502"},"comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/502/comments"},"review_comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/502/comments"},"review_comment":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/502/commits"},"statuses":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/db37157cb893a289933deb839cdb143145d24277"}}}}
{"actor":{"display_login":"houndci-bot"}}