{"action":"created","comment":{"url":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/comments/25135073","id":25135073,"diff_hunk":"@@ -860,6 +860,19 @@ public void UnsubscribeTrade (UserHandler handler, Trade trade)\n             trade.OnUserAccept -= handler.OnTradeAcceptHandler;\n         }\n \n+        /// <summary>\n+        /// Fetch the Bot's inventory and log a warning if it's private\n+        /// </summary>\n+        private Inventory FetchBotsInventory()\n+        {\n+            var inventory = Inventory.FetchInventory(SteamUser.SteamID, ApiKey, SteamWeb);\n+            if(inventory.IsPrivate)\n+            {\n+                log.Warn(\"The bot's backpack is private! If your bot adds any items it will fail! Your bot's backpack should be Friends Only or Public.\");","path":"SteamBot/Bot.cs","position":21,"original_position":21,"commit_id":"63239f867532e59faa0aa59d8e00cacaf4b33305","original_commit_id":"63239f867532e59faa0aa59d8e00cacaf4b33305","user":{"login":"BlueRaja","id":650323,"avatar_url":"https://avatars.githubusercontent.com/u/650323?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueRaja","html_url":"https://github.com/BlueRaja","followers_url":"https://api.github.com/users/BlueRaja/followers","following_url":"https://api.github.com/users/BlueRaja/following{/other_user}","gists_url":"https://api.github.com/users/BlueRaja/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueRaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueRaja/subscriptions","organizations_url":"https://api.github.com/users/BlueRaja/orgs","repos_url":"https://api.github.com/users/BlueRaja/repos","events_url":"https://api.github.com/users/BlueRaja/events{/privacy}","received_events_url":"https://api.github.com/users/BlueRaja/received_events","type":"User","site_admin":false},"body":"There's a new backpack API?\r\n\r\nThe bot should support Friends Only backpacks since https://github.com/Jessecar96/SteamBot/pull/616.","created_at":"2015-02-22T18:45:09Z","updated_at":"2015-02-22T18:45:09Z","html_url":"https://github.com/Jessecar96/SteamBot/pull/718#discussion_r25135073","pull_request_url":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/718","_links":{"self":{"href":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/comments/25135073"},"html":{"href":"https://github.com/Jessecar96/SteamBot/pull/718#discussion_r25135073"},"pull_request":{"href":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/718"}}},"pull_request":{"url":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/718","id":29773329,"html_url":"https://github.com/Jessecar96/SteamBot/pull/718","diff_url":"https://github.com/Jessecar96/SteamBot/pull/718.diff","patch_url":"https://github.com/Jessecar96/SteamBot/pull/718.patch","issue_url":"https://api.github.com/repos/Jessecar96/SteamBot/issues/718","number":718,"state":"open","locked":false,"title":"Show a warning if the Bot's inventory is private","user":{"login":"BlueRaja","id":650323,"avatar_url":"https://avatars.githubusercontent.com/u/650323?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueRaja","html_url":"https://github.com/BlueRaja","followers_url":"https://api.github.com/users/BlueRaja/followers","following_url":"https://api.github.com/users/BlueRaja/following{/other_user}","gists_url":"https://api.github.com/users/BlueRaja/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueRaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueRaja/subscriptions","organizations_url":"https://api.github.com/users/BlueRaja/orgs","repos_url":"https://api.github.com/users/BlueRaja/repos","events_url":"https://api.github.com/users/BlueRaja/events{/privacy}","received_events_url":"https://api.github.com/users/BlueRaja/received_events","type":"User","site_admin":false},"body":"The suggestion made by @Bottswana in #706 ","created_at":"2015-02-22T17:16:54Z","updated_at":"2015-02-22T18:45:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a8c79f650d6caf1773417b84694340a11e5e07f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/718/commits","review_comments_url":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/718/comments","review_comment_url":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Jessecar96/SteamBot/issues/718/comments","statuses_url":"https://api.github.com/repos/Jessecar96/SteamBot/statuses/63239f867532e59faa0aa59d8e00cacaf4b33305","head":{"label":"BlueRaja:CheckBotInventoryPrivacy","ref":"CheckBotInventoryPrivacy","sha":"63239f867532e59faa0aa59d8e00cacaf4b33305","user":{"login":"BlueRaja","id":650323,"avatar_url":"https://avatars.githubusercontent.com/u/650323?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueRaja","html_url":"https://github.com/BlueRaja","followers_url":"https://api.github.com/users/BlueRaja/followers","following_url":"https://api.github.com/users/BlueRaja/following{/other_user}","gists_url":"https://api.github.com/users/BlueRaja/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueRaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueRaja/subscriptions","organizations_url":"https://api.github.com/users/BlueRaja/orgs","repos_url":"https://api.github.com/users/BlueRaja/repos","events_url":"https://api.github.com/users/BlueRaja/events{/privacy}","received_events_url":"https://api.github.com/users/BlueRaja/received_events","type":"User","site_admin":false},"repo":{"id":14813150,"name":"SteamBot","full_name":"BlueRaja/SteamBot","owner":{"login":"BlueRaja","id":650323,"avatar_url":"https://avatars.githubusercontent.com/u/650323?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueRaja","html_url":"https://github.com/BlueRaja","followers_url":"https://api.github.com/users/BlueRaja/followers","following_url":"https://api.github.com/users/BlueRaja/following{/other_user}","gists_url":"https://api.github.com/users/BlueRaja/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueRaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueRaja/subscriptions","organizations_url":"https://api.github.com/users/BlueRaja/orgs","repos_url":"https://api.github.com/users/BlueRaja/repos","events_url":"https://api.github.com/users/BlueRaja/events{/privacy}","received_events_url":"https://api.github.com/users/BlueRaja/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BlueRaja/SteamBot","description":"Automated bot software for interacting with Steam Trade","fork":true,"url":"https://api.github.com/repos/BlueRaja/SteamBot","forks_url":"https://api.github.com/repos/BlueRaja/SteamBot/forks","keys_url":"https://api.github.com/repos/BlueRaja/SteamBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BlueRaja/SteamBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BlueRaja/SteamBot/teams","hooks_url":"https://api.github.com/repos/BlueRaja/SteamBot/hooks","issue_events_url":"https://api.github.com/repos/BlueRaja/SteamBot/issues/events{/number}","events_url":"https://api.github.com/repos/BlueRaja/SteamBot/events","assignees_url":"https://api.github.com/repos/BlueRaja/SteamBot/assignees{/user}","branches_url":"https://api.github.com/repos/BlueRaja/SteamBot/branches{/branch}","tags_url":"https://api.github.com/repos/BlueRaja/SteamBot/tags","blobs_url":"https://api.github.com/repos/BlueRaja/SteamBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BlueRaja/SteamBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BlueRaja/SteamBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/BlueRaja/SteamBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BlueRaja/SteamBot/statuses/{sha}","languages_url":"https://api.github.com/repos/BlueRaja/SteamBot/languages","stargazers_url":"https://api.github.com/repos/BlueRaja/SteamBot/stargazers","contributors_url":"https://api.github.com/repos/BlueRaja/SteamBot/contributors","subscribers_url":"https://api.github.com/repos/BlueRaja/SteamBot/subscribers","subscription_url":"https://api.github.com/repos/BlueRaja/SteamBot/subscription","commits_url":"https://api.github.com/repos/BlueRaja/SteamBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/BlueRaja/SteamBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/BlueRaja/SteamBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/BlueRaja/SteamBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/BlueRaja/SteamBot/contents/{+path}","compare_url":"https://api.github.com/repos/BlueRaja/SteamBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BlueRaja/SteamBot/merges","archive_url":"https://api.github.com/repos/BlueRaja/SteamBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BlueRaja/SteamBot/downloads","issues_url":"https://api.github.com/repos/BlueRaja/SteamBot/issues{/number}","pulls_url":"https://api.github.com/repos/BlueRaja/SteamBot/pulls{/number}","milestones_url":"https://api.github.com/repos/BlueRaja/SteamBot/milestones{/number}","notifications_url":"https://api.github.com/repos/BlueRaja/SteamBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BlueRaja/SteamBot/labels{/name}","releases_url":"https://api.github.com/repos/BlueRaja/SteamBot/releases{/id}","created_at":"2013-11-30T01:11:20Z","updated_at":"2015-01-31T22:34:57Z","pushed_at":"2015-02-22T18:36:33Z","git_url":"git://github.com/BlueRaja/SteamBot.git","ssh_url":"git@github.com:BlueRaja/SteamBot.git","clone_url":"https://github.com/BlueRaja/SteamBot.git","svn_url":"https://github.com/BlueRaja/SteamBot","homepage":"http://scrap.tf","size":18244,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":false,"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":2,"default_branch":"master"}},"base":{"label":"Jessecar96:master","ref":"master","sha":"d31073950d6b28bc26159e9baa308ae030d471a1","user":{"login":"Jessecar96","id":1954840,"avatar_url":"https://avatars.githubusercontent.com/u/1954840?v=3","gravatar_id":"","url":"https://api.github.com/users/Jessecar96","html_url":"https://github.com/Jessecar96","followers_url":"https://api.github.com/users/Jessecar96/followers","following_url":"https://api.github.com/users/Jessecar96/following{/other_user}","gists_url":"https://api.github.com/users/Jessecar96/gists{/gist_id}","starred_url":"https://api.github.com/users/Jessecar96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jessecar96/subscriptions","organizations_url":"https://api.github.com/users/Jessecar96/orgs","repos_url":"https://api.github.com/users/Jessecar96/repos","events_url":"https://api.github.com/users/Jessecar96/events{/privacy}","received_events_url":"https://api.github.com/users/Jessecar96/received_events","type":"User","site_admin":false},"repo":{"id":4986149,"name":"SteamBot","full_name":"Jessecar96/SteamBot","owner":{"login":"Jessecar96","id":1954840,"avatar_url":"https://avatars.githubusercontent.com/u/1954840?v=3","gravatar_id":"","url":"https://api.github.com/users/Jessecar96","html_url":"https://github.com/Jessecar96","followers_url":"https://api.github.com/users/Jessecar96/followers","following_url":"https://api.github.com/users/Jessecar96/following{/other_user}","gists_url":"https://api.github.com/users/Jessecar96/gists{/gist_id}","starred_url":"https://api.github.com/users/Jessecar96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jessecar96/subscriptions","organizations_url":"https://api.github.com/users/Jessecar96/orgs","repos_url":"https://api.github.com/users/Jessecar96/repos","events_url":"https://api.github.com/users/Jessecar96/events{/privacy}","received_events_url":"https://api.github.com/users/Jessecar96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jessecar96/SteamBot","description":"Automated bot software for interacting with Steam Trade","fork":false,"url":"https://api.github.com/repos/Jessecar96/SteamBot","forks_url":"https://api.github.com/repos/Jessecar96/SteamBot/forks","keys_url":"https://api.github.com/repos/Jessecar96/SteamBot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jessecar96/SteamBot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jessecar96/SteamBot/teams","hooks_url":"https://api.github.com/repos/Jessecar96/SteamBot/hooks","issue_events_url":"https://api.github.com/repos/Jessecar96/SteamBot/issues/events{/number}","events_url":"https://api.github.com/repos/Jessecar96/SteamBot/events","assignees_url":"https://api.github.com/repos/Jessecar96/SteamBot/assignees{/user}","branches_url":"https://api.github.com/repos/Jessecar96/SteamBot/branches{/branch}","tags_url":"https://api.github.com/repos/Jessecar96/SteamBot/tags","blobs_url":"https://api.github.com/repos/Jessecar96/SteamBot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jessecar96/SteamBot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jessecar96/SteamBot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jessecar96/SteamBot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jessecar96/SteamBot/statuses/{sha}","languages_url":"https://api.github.com/repos/Jessecar96/SteamBot/languages","stargazers_url":"https://api.github.com/repos/Jessecar96/SteamBot/stargazers","contributors_url":"https://api.github.com/repos/Jessecar96/SteamBot/contributors","subscribers_url":"https://api.github.com/repos/Jessecar96/SteamBot/subscribers","subscription_url":"https://api.github.com/repos/Jessecar96/SteamBot/subscription","commits_url":"https://api.github.com/repos/Jessecar96/SteamBot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jessecar96/SteamBot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jessecar96/SteamBot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jessecar96/SteamBot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jessecar96/SteamBot/contents/{+path}","compare_url":"https://api.github.com/repos/Jessecar96/SteamBot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jessecar96/SteamBot/merges","archive_url":"https://api.github.com/repos/Jessecar96/SteamBot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jessecar96/SteamBot/downloads","issues_url":"https://api.github.com/repos/Jessecar96/SteamBot/issues{/number}","pulls_url":"https://api.github.com/repos/Jessecar96/SteamBot/pulls{/number}","milestones_url":"https://api.github.com/repos/Jessecar96/SteamBot/milestones{/number}","notifications_url":"https://api.github.com/repos/Jessecar96/SteamBot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jessecar96/SteamBot/labels{/name}","releases_url":"https://api.github.com/repos/Jessecar96/SteamBot/releases{/id}","created_at":"2012-07-11T08:07:47Z","updated_at":"2015-02-22T17:19:54Z","pushed_at":"2015-02-22T17:19:54Z","git_url":"git://github.com/Jessecar96/SteamBot.git","ssh_url":"git@github.com:Jessecar96/SteamBot.git","clone_url":"https://github.com/Jessecar96/SteamBot.git","svn_url":"https://github.com/Jessecar96/SteamBot","homepage":"http://scrap.tf","size":29101,"stargazers_count":451,"watchers_count":451,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":613,"mirror_url":null,"open_issues_count":30,"forks":613,"open_issues":30,"watchers":451,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/718"},"html":{"href":"https://github.com/Jessecar96/SteamBot/pull/718"},"issue":{"href":"https://api.github.com/repos/Jessecar96/SteamBot/issues/718"},"comments":{"href":"https://api.github.com/repos/Jessecar96/SteamBot/issues/718/comments"},"review_comments":{"href":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/718/comments"},"review_comment":{"href":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Jessecar96/SteamBot/pulls/718/commits"},"statuses":{"href":"https://api.github.com/repos/Jessecar96/SteamBot/statuses/63239f867532e59faa0aa59d8e00cacaf4b33305"}}}}