{"action":"closed","number":279,"pull_request":{"url":"https://api.github.com/repos/yegorf1/RogueBot/pulls/279","id":100074772,"html_url":"https://github.com/yegorf1/RogueBot/pull/279","diff_url":"https://github.com/yegorf1/RogueBot/pull/279.diff","patch_url":"https://github.com/yegorf1/RogueBot/pull/279.patch","issue_url":"https://api.github.com/repos/yegorf1/RogueBot/issues/279","number":279,"state":"closed","locked":false,"title":"Object check order","user":{"login":"alexyr","id":1553411,"avatar_url":"https://avatars.githubusercontent.com/u/1553411?v=3","gravatar_id":"","url":"https://api.github.com/users/alexyr","html_url":"https://github.com/alexyr","followers_url":"https://api.github.com/users/alexyr/followers","following_url":"https://api.github.com/users/alexyr/following{/other_user}","gists_url":"https://api.github.com/users/alexyr/gists{/gist_id}","starred_url":"https://api.github.com/users/alexyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexyr/subscriptions","organizations_url":"https://api.github.com/users/alexyr/orgs","repos_url":"https://api.github.com/users/alexyr/repos","events_url":"https://api.github.com/users/alexyr/events{/privacy}","received_events_url":"https://api.github.com/users/alexyr/received_events","type":"User","site_admin":false},"body":"First check object for existence, then it's properties","created_at":"2017-01-04T07:58:06Z","updated_at":"2017-01-04T07:59:16Z","closed_at":"2017-01-04T07:59:16Z","merged_at":"2017-01-04T07:59:16Z","merge_commit_sha":"28625b9e9ac0bf50ebc535bd93f2a0322faead6e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yegorf1/RogueBot/pulls/279/commits","review_comments_url":"https://api.github.com/repos/yegorf1/RogueBot/pulls/279/comments","review_comment_url":"https://api.github.com/repos/yegorf1/RogueBot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yegorf1/RogueBot/issues/279/comments","statuses_url":"https://api.github.com/repos/yegorf1/RogueBot/statuses/f09aa31563c4066a407839f46d5464d43c8d7132","head":{"label":"alexyr:master","ref":"master","sha":"f09aa31563c4066a407839f46d5464d43c8d7132","user":{"login":"alexyr","id":1553411,"avatar_url":"https://avatars.githubusercontent.com/u/1553411?v=3","gravatar_id":"","url":"https://api.github.com/users/alexyr","html_url":"https://github.com/alexyr","followers_url":"https://api.github.com/users/alexyr/followers","following_url":"https://api.github.com/users/alexyr/following{/other_user}","gists_url":"https://api.github.com/users/alexyr/gists{/gist_id}","starred_url":"https://api.github.com/users/alexyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexyr/subscriptions","organizations_url":"https://api.github.com/users/alexyr/orgs","repos_url":"https://api.github.com/users/alexyr/repos","events_url":"https://api.github.com/users/alexyr/events{/privacy}","received_events_url":"https://api.github.com/users/alexyr/received_events","type":"User","site_admin":false},"repo":{"id":77994054,"name":"RogueBot","full_name":"alexyr/RogueBot","owner":{"login":"alexyr","id":1553411,"avatar_url":"https://avatars.githubusercontent.com/u/1553411?v=3","gravatar_id":"","url":"https://api.github.com/users/alexyr","html_url":"https://github.com/alexyr","followers_url":"https://api.github.com/users/alexyr/followers","following_url":"https://api.github.com/users/alexyr/following{/other_user}","gists_url":"https://api.github.com/users/alexyr/gists{/gist_id}","starred_url":"https://api.github.com/users/alexyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexyr/subscriptions","organizations_url":"https://api.github.com/users/alexyr/orgs","repos_url":"https://api.github.com/users/alexyr/repos","events_url":"https://api.github.com/users/alexyr/events{/privacy}","received_events_url":"https://api.github.com/users/alexyr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexyr/RogueBot","description":"My simple rogue-like game for Telegram","fork":true,"url":"https://api.github.com/repos/alexyr/RogueBot","forks_url":"https://api.github.com/repos/alexyr/RogueBot/forks","keys_url":"https://api.github.com/repos/alexyr/RogueBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexyr/RogueBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexyr/RogueBot/teams","hooks_url":"https://api.github.com/repos/alexyr/RogueBot/hooks","issue_events_url":"https://api.github.com/repos/alexyr/RogueBot/issues/events{/number}","events_url":"https://api.github.com/repos/alexyr/RogueBot/events","assignees_url":"https://api.github.com/repos/alexyr/RogueBot/assignees{/user}","branches_url":"https://api.github.com/repos/alexyr/RogueBot/branches{/branch}","tags_url":"https://api.github.com/repos/alexyr/RogueBot/tags","blobs_url":"https://api.github.com/repos/alexyr/RogueBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexyr/RogueBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexyr/RogueBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexyr/RogueBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexyr/RogueBot/statuses/{sha}","languages_url":"https://api.github.com/repos/alexyr/RogueBot/languages","stargazers_url":"https://api.github.com/repos/alexyr/RogueBot/stargazers","contributors_url":"https://api.github.com/repos/alexyr/RogueBot/contributors","subscribers_url":"https://api.github.com/repos/alexyr/RogueBot/subscribers","subscription_url":"https://api.github.com/repos/alexyr/RogueBot/subscription","commits_url":"https://api.github.com/repos/alexyr/RogueBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexyr/RogueBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexyr/RogueBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexyr/RogueBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexyr/RogueBot/contents/{+path}","compare_url":"https://api.github.com/repos/alexyr/RogueBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexyr/RogueBot/merges","archive_url":"https://api.github.com/repos/alexyr/RogueBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexyr/RogueBot/downloads","issues_url":"https://api.github.com/repos/alexyr/RogueBot/issues{/number}","pulls_url":"https://api.github.com/repos/alexyr/RogueBot/pulls{/number}","milestones_url":"https://api.github.com/repos/alexyr/RogueBot/milestones{/number}","notifications_url":"https://api.github.com/repos/alexyr/RogueBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexyr/RogueBot/labels{/name}","releases_url":"https://api.github.com/repos/alexyr/RogueBot/releases{/id}","deployments_url":"https://api.github.com/repos/alexyr/RogueBot/deployments","created_at":"2017-01-04T07:54:21Z","updated_at":"2017-01-04T07:54:24Z","pushed_at":"2017-01-04T07:55:33Z","git_url":"git://github.com/alexyr/RogueBot.git","ssh_url":"git@github.com:alexyr/RogueBot.git","clone_url":"https://github.com/alexyr/RogueBot.git","svn_url":"https://github.com/alexyr/RogueBot","homepage":null,"size":1841,"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":"yegorf1:master","ref":"master","sha":"bb2549b8486047dd46420f4c206e186f505748bb","user":{"login":"yegorf1","id":4124939,"avatar_url":"https://avatars.githubusercontent.com/u/4124939?v=3","gravatar_id":"","url":"https://api.github.com/users/yegorf1","html_url":"https://github.com/yegorf1","followers_url":"https://api.github.com/users/yegorf1/followers","following_url":"https://api.github.com/users/yegorf1/following{/other_user}","gists_url":"https://api.github.com/users/yegorf1/gists{/gist_id}","starred_url":"https://api.github.com/users/yegorf1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegorf1/subscriptions","organizations_url":"https://api.github.com/users/yegorf1/orgs","repos_url":"https://api.github.com/users/yegorf1/repos","events_url":"https://api.github.com/users/yegorf1/events{/privacy}","received_events_url":"https://api.github.com/users/yegorf1/received_events","type":"User","site_admin":false},"repo":{"id":64760980,"name":"RogueBot","full_name":"yegorf1/RogueBot","owner":{"login":"yegorf1","id":4124939,"avatar_url":"https://avatars.githubusercontent.com/u/4124939?v=3","gravatar_id":"","url":"https://api.github.com/users/yegorf1","html_url":"https://github.com/yegorf1","followers_url":"https://api.github.com/users/yegorf1/followers","following_url":"https://api.github.com/users/yegorf1/following{/other_user}","gists_url":"https://api.github.com/users/yegorf1/gists{/gist_id}","starred_url":"https://api.github.com/users/yegorf1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegorf1/subscriptions","organizations_url":"https://api.github.com/users/yegorf1/orgs","repos_url":"https://api.github.com/users/yegorf1/repos","events_url":"https://api.github.com/users/yegorf1/events{/privacy}","received_events_url":"https://api.github.com/users/yegorf1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yegorf1/RogueBot","description":"My simple rogue-like game for Telegram","fork":false,"url":"https://api.github.com/repos/yegorf1/RogueBot","forks_url":"https://api.github.com/repos/yegorf1/RogueBot/forks","keys_url":"https://api.github.com/repos/yegorf1/RogueBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yegorf1/RogueBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yegorf1/RogueBot/teams","hooks_url":"https://api.github.com/repos/yegorf1/RogueBot/hooks","issue_events_url":"https://api.github.com/repos/yegorf1/RogueBot/issues/events{/number}","events_url":"https://api.github.com/repos/yegorf1/RogueBot/events","assignees_url":"https://api.github.com/repos/yegorf1/RogueBot/assignees{/user}","branches_url":"https://api.github.com/repos/yegorf1/RogueBot/branches{/branch}","tags_url":"https://api.github.com/repos/yegorf1/RogueBot/tags","blobs_url":"https://api.github.com/repos/yegorf1/RogueBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yegorf1/RogueBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yegorf1/RogueBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/yegorf1/RogueBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yegorf1/RogueBot/statuses/{sha}","languages_url":"https://api.github.com/repos/yegorf1/RogueBot/languages","stargazers_url":"https://api.github.com/repos/yegorf1/RogueBot/stargazers","contributors_url":"https://api.github.com/repos/yegorf1/RogueBot/contributors","subscribers_url":"https://api.github.com/repos/yegorf1/RogueBot/subscribers","subscription_url":"https://api.github.com/repos/yegorf1/RogueBot/subscription","commits_url":"https://api.github.com/repos/yegorf1/RogueBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/yegorf1/RogueBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/yegorf1/RogueBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/yegorf1/RogueBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/yegorf1/RogueBot/contents/{+path}","compare_url":"https://api.github.com/repos/yegorf1/RogueBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yegorf1/RogueBot/merges","archive_url":"https://api.github.com/repos/yegorf1/RogueBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yegorf1/RogueBot/downloads","issues_url":"https://api.github.com/repos/yegorf1/RogueBot/issues{/number}","pulls_url":"https://api.github.com/repos/yegorf1/RogueBot/pulls{/number}","milestones_url":"https://api.github.com/repos/yegorf1/RogueBot/milestones{/number}","notifications_url":"https://api.github.com/repos/yegorf1/RogueBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yegorf1/RogueBot/labels{/name}","releases_url":"https://api.github.com/repos/yegorf1/RogueBot/releases{/id}","deployments_url":"https://api.github.com/repos/yegorf1/RogueBot/deployments","created_at":"2016-08-02T13:52:35Z","updated_at":"2017-01-03T06:12:14Z","pushed_at":"2017-01-04T07:59:16Z","git_url":"git://github.com/yegorf1/RogueBot.git","ssh_url":"git@github.com:yegorf1/RogueBot.git","clone_url":"https://github.com/yegorf1/RogueBot.git","svn_url":"https://github.com/yegorf1/RogueBot","homepage":null,"size":1841,"stargazers_count":78,"watchers_count":78,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":32,"forks":33,"open_issues":32,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yegorf1/RogueBot/pulls/279"},"html":{"href":"https://github.com/yegorf1/RogueBot/pull/279"},"issue":{"href":"https://api.github.com/repos/yegorf1/RogueBot/issues/279"},"comments":{"href":"https://api.github.com/repos/yegorf1/RogueBot/issues/279/comments"},"review_comments":{"href":"https://api.github.com/repos/yegorf1/RogueBot/pulls/279/comments"},"review_comment":{"href":"https://api.github.com/repos/yegorf1/RogueBot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yegorf1/RogueBot/pulls/279/commits"},"statuses":{"href":"https://api.github.com/repos/yegorf1/RogueBot/statuses/f09aa31563c4066a407839f46d5464d43c8d7132"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yegorf1","id":4124939,"avatar_url":"https://avatars.githubusercontent.com/u/4124939?v=3","gravatar_id":"","url":"https://api.github.com/users/yegorf1","html_url":"https://github.com/yegorf1","followers_url":"https://api.github.com/users/yegorf1/followers","following_url":"https://api.github.com/users/yegorf1/following{/other_user}","gists_url":"https://api.github.com/users/yegorf1/gists{/gist_id}","starred_url":"https://api.github.com/users/yegorf1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegorf1/subscriptions","organizations_url":"https://api.github.com/users/yegorf1/orgs","repos_url":"https://api.github.com/users/yegorf1/repos","events_url":"https://api.github.com/users/yegorf1/events{/privacy}","received_events_url":"https://api.github.com/users/yegorf1/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"yegorf1"}}