{"action":"opened","number":126,"pull_request":{"url":"https://api.github.com/repos/austinv11/Discord4J/pulls/126","id":86673763,"html_url":"https://github.com/austinv11/Discord4J/pull/126","diff_url":"https://github.com/austinv11/Discord4J/pull/126.diff","patch_url":"https://github.com/austinv11/Discord4J/pull/126.patch","issue_url":"https://api.github.com/repos/austinv11/Discord4J/issues/126","number":126,"state":"open","locked":false,"title":"Add status and presence changing per shard","user":{"login":"chrislo27","id":6299069,"avatar_url":"https://avatars.githubusercontent.com/u/6299069?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislo27","html_url":"https://github.com/chrislo27","followers_url":"https://api.github.com/users/chrislo27/followers","following_url":"https://api.github.com/users/chrislo27/following{/other_user}","gists_url":"https://api.github.com/users/chrislo27/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislo27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislo27/subscriptions","organizations_url":"https://api.github.com/users/chrislo27/orgs","repos_url":"https://api.github.com/users/chrislo27/repos","events_url":"https://api.github.com/users/chrislo27/events{/privacy}","received_events_url":"https://api.github.com/users/chrislo27/received_events","type":"User","site_admin":false},"body":"### Prerequisites\r\n* [x] I have read and understood the [contribution guidelines](CONTRIBUTING.md)\r\n* [x] This pull request follows the code style of the project\r\n* [x] I have tested this feature thoroughly\r\n\r\n### Changes Proposed in this Pull Request\r\n* As noted in #124, I wanted the ability to __set presences and statuses per shard__\r\n  * That is the change in this PR\r\n  * Users that aren't the client only have one presence and status, though (since we can't see their shards, obviously)\r\n\r\n* Added `changePresence` and `changeStatus` with a shard number\r\n  * Not passing a shard number defaults to all shards to allow backwards compatibility\r\n* Added index parameters for the getters for statuses and presences\r\n  * Only works on index 0 for non-clients, but the parameter-less version of the getters defaults to 0\r\n\r\n","created_at":"2016-09-26T02:38:07Z","updated_at":"2016-09-26T02:38:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/austinv11/Discord4J/pulls/126/commits","review_comments_url":"https://api.github.com/repos/austinv11/Discord4J/pulls/126/comments","review_comment_url":"https://api.github.com/repos/austinv11/Discord4J/pulls/comments{/number}","comments_url":"https://api.github.com/repos/austinv11/Discord4J/issues/126/comments","statuses_url":"https://api.github.com/repos/austinv11/Discord4J/statuses/30df3e316be407ee6db2ffc488bab8aa9caa596a","head":{"label":"chrislo27:dev","ref":"dev","sha":"30df3e316be407ee6db2ffc488bab8aa9caa596a","user":{"login":"chrislo27","id":6299069,"avatar_url":"https://avatars.githubusercontent.com/u/6299069?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislo27","html_url":"https://github.com/chrislo27","followers_url":"https://api.github.com/users/chrislo27/followers","following_url":"https://api.github.com/users/chrislo27/following{/other_user}","gists_url":"https://api.github.com/users/chrislo27/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislo27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislo27/subscriptions","organizations_url":"https://api.github.com/users/chrislo27/orgs","repos_url":"https://api.github.com/users/chrislo27/repos","events_url":"https://api.github.com/users/chrislo27/events{/privacy}","received_events_url":"https://api.github.com/users/chrislo27/received_events","type":"User","site_admin":false},"repo":{"id":66310715,"name":"Discord4J","full_name":"chrislo27/Discord4J","owner":{"login":"chrislo27","id":6299069,"avatar_url":"https://avatars.githubusercontent.com/u/6299069?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislo27","html_url":"https://github.com/chrislo27","followers_url":"https://api.github.com/users/chrislo27/followers","following_url":"https://api.github.com/users/chrislo27/following{/other_user}","gists_url":"https://api.github.com/users/chrislo27/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislo27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislo27/subscriptions","organizations_url":"https://api.github.com/users/chrislo27/orgs","repos_url":"https://api.github.com/users/chrislo27/repos","events_url":"https://api.github.com/users/chrislo27/events{/privacy}","received_events_url":"https://api.github.com/users/chrislo27/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrislo27/Discord4J","description":"Java interface for the Discord API","fork":true,"url":"https://api.github.com/repos/chrislo27/Discord4J","forks_url":"https://api.github.com/repos/chrislo27/Discord4J/forks","keys_url":"https://api.github.com/repos/chrislo27/Discord4J/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrislo27/Discord4J/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrislo27/Discord4J/teams","hooks_url":"https://api.github.com/repos/chrislo27/Discord4J/hooks","issue_events_url":"https://api.github.com/repos/chrislo27/Discord4J/issues/events{/number}","events_url":"https://api.github.com/repos/chrislo27/Discord4J/events","assignees_url":"https://api.github.com/repos/chrislo27/Discord4J/assignees{/user}","branches_url":"https://api.github.com/repos/chrislo27/Discord4J/branches{/branch}","tags_url":"https://api.github.com/repos/chrislo27/Discord4J/tags","blobs_url":"https://api.github.com/repos/chrislo27/Discord4J/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrislo27/Discord4J/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrislo27/Discord4J/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrislo27/Discord4J/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrislo27/Discord4J/statuses/{sha}","languages_url":"https://api.github.com/repos/chrislo27/Discord4J/languages","stargazers_url":"https://api.github.com/repos/chrislo27/Discord4J/stargazers","contributors_url":"https://api.github.com/repos/chrislo27/Discord4J/contributors","subscribers_url":"https://api.github.com/repos/chrislo27/Discord4J/subscribers","subscription_url":"https://api.github.com/repos/chrislo27/Discord4J/subscription","commits_url":"https://api.github.com/repos/chrislo27/Discord4J/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrislo27/Discord4J/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrislo27/Discord4J/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrislo27/Discord4J/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrislo27/Discord4J/contents/{+path}","compare_url":"https://api.github.com/repos/chrislo27/Discord4J/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrislo27/Discord4J/merges","archive_url":"https://api.github.com/repos/chrislo27/Discord4J/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrislo27/Discord4J/downloads","issues_url":"https://api.github.com/repos/chrislo27/Discord4J/issues{/number}","pulls_url":"https://api.github.com/repos/chrislo27/Discord4J/pulls{/number}","milestones_url":"https://api.github.com/repos/chrislo27/Discord4J/milestones{/number}","notifications_url":"https://api.github.com/repos/chrislo27/Discord4J/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrislo27/Discord4J/labels{/name}","releases_url":"https://api.github.com/repos/chrislo27/Discord4J/releases{/id}","deployments_url":"https://api.github.com/repos/chrislo27/Discord4J/deployments","created_at":"2016-08-22T21:50:19Z","updated_at":"2016-08-22T21:50:20Z","pushed_at":"2016-09-26T02:33:22Z","git_url":"git://github.com/chrislo27/Discord4J.git","ssh_url":"git@github.com:chrislo27/Discord4J.git","clone_url":"https://github.com/chrislo27/Discord4J.git","svn_url":"https://github.com/chrislo27/Discord4J","homepage":"http://austinv11.github.io/Discord4J/","size":11687,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"austinv11:dev","ref":"dev","sha":"552a428f6a74a2102fe7c2d9eea1e9d64e3d89cf","user":{"login":"austinv11","id":6373756,"avatar_url":"https://avatars.githubusercontent.com/u/6373756?v=3","gravatar_id":"","url":"https://api.github.com/users/austinv11","html_url":"https://github.com/austinv11","followers_url":"https://api.github.com/users/austinv11/followers","following_url":"https://api.github.com/users/austinv11/following{/other_user}","gists_url":"https://api.github.com/users/austinv11/gists{/gist_id}","starred_url":"https://api.github.com/users/austinv11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinv11/subscriptions","organizations_url":"https://api.github.com/users/austinv11/orgs","repos_url":"https://api.github.com/users/austinv11/repos","events_url":"https://api.github.com/users/austinv11/events{/privacy}","received_events_url":"https://api.github.com/users/austinv11/received_events","type":"User","site_admin":false},"repo":{"id":45755430,"name":"Discord4J","full_name":"austinv11/Discord4J","owner":{"login":"austinv11","id":6373756,"avatar_url":"https://avatars.githubusercontent.com/u/6373756?v=3","gravatar_id":"","url":"https://api.github.com/users/austinv11","html_url":"https://github.com/austinv11","followers_url":"https://api.github.com/users/austinv11/followers","following_url":"https://api.github.com/users/austinv11/following{/other_user}","gists_url":"https://api.github.com/users/austinv11/gists{/gist_id}","starred_url":"https://api.github.com/users/austinv11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinv11/subscriptions","organizations_url":"https://api.github.com/users/austinv11/orgs","repos_url":"https://api.github.com/users/austinv11/repos","events_url":"https://api.github.com/users/austinv11/events{/privacy}","received_events_url":"https://api.github.com/users/austinv11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/austinv11/Discord4J","description":"Java interface for the Discord API","fork":false,"url":"https://api.github.com/repos/austinv11/Discord4J","forks_url":"https://api.github.com/repos/austinv11/Discord4J/forks","keys_url":"https://api.github.com/repos/austinv11/Discord4J/keys{/key_id}","collaborators_url":"https://api.github.com/repos/austinv11/Discord4J/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/austinv11/Discord4J/teams","hooks_url":"https://api.github.com/repos/austinv11/Discord4J/hooks","issue_events_url":"https://api.github.com/repos/austinv11/Discord4J/issues/events{/number}","events_url":"https://api.github.com/repos/austinv11/Discord4J/events","assignees_url":"https://api.github.com/repos/austinv11/Discord4J/assignees{/user}","branches_url":"https://api.github.com/repos/austinv11/Discord4J/branches{/branch}","tags_url":"https://api.github.com/repos/austinv11/Discord4J/tags","blobs_url":"https://api.github.com/repos/austinv11/Discord4J/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/austinv11/Discord4J/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/austinv11/Discord4J/git/refs{/sha}","trees_url":"https://api.github.com/repos/austinv11/Discord4J/git/trees{/sha}","statuses_url":"https://api.github.com/repos/austinv11/Discord4J/statuses/{sha}","languages_url":"https://api.github.com/repos/austinv11/Discord4J/languages","stargazers_url":"https://api.github.com/repos/austinv11/Discord4J/stargazers","contributors_url":"https://api.github.com/repos/austinv11/Discord4J/contributors","subscribers_url":"https://api.github.com/repos/austinv11/Discord4J/subscribers","subscription_url":"https://api.github.com/repos/austinv11/Discord4J/subscription","commits_url":"https://api.github.com/repos/austinv11/Discord4J/commits{/sha}","git_commits_url":"https://api.github.com/repos/austinv11/Discord4J/git/commits{/sha}","comments_url":"https://api.github.com/repos/austinv11/Discord4J/comments{/number}","issue_comment_url":"https://api.github.com/repos/austinv11/Discord4J/issues/comments{/number}","contents_url":"https://api.github.com/repos/austinv11/Discord4J/contents/{+path}","compare_url":"https://api.github.com/repos/austinv11/Discord4J/compare/{base}...{head}","merges_url":"https://api.github.com/repos/austinv11/Discord4J/merges","archive_url":"https://api.github.com/repos/austinv11/Discord4J/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/austinv11/Discord4J/downloads","issues_url":"https://api.github.com/repos/austinv11/Discord4J/issues{/number}","pulls_url":"https://api.github.com/repos/austinv11/Discord4J/pulls{/number}","milestones_url":"https://api.github.com/repos/austinv11/Discord4J/milestones{/number}","notifications_url":"https://api.github.com/repos/austinv11/Discord4J/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/austinv11/Discord4J/labels{/name}","releases_url":"https://api.github.com/repos/austinv11/Discord4J/releases{/id}","deployments_url":"https://api.github.com/repos/austinv11/Discord4J/deployments","created_at":"2015-11-07T21:29:08Z","updated_at":"2016-09-25T22:28:29Z","pushed_at":"2016-09-26T01:51:04Z","git_url":"git://github.com/austinv11/Discord4J.git","ssh_url":"git@github.com:austinv11/Discord4J.git","clone_url":"https://github.com/austinv11/Discord4J.git","svn_url":"https://github.com/austinv11/Discord4J","homepage":"http://austinv11.github.io/Discord4J/","size":11787,"stargazers_count":104,"watchers_count":104,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":40,"mirror_url":null,"open_issues_count":6,"forks":40,"open_issues":6,"watchers":104,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/austinv11/Discord4J/pulls/126"},"html":{"href":"https://github.com/austinv11/Discord4J/pull/126"},"issue":{"href":"https://api.github.com/repos/austinv11/Discord4J/issues/126"},"comments":{"href":"https://api.github.com/repos/austinv11/Discord4J/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/austinv11/Discord4J/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/austinv11/Discord4J/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/austinv11/Discord4J/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/austinv11/Discord4J/statuses/30df3e316be407ee6db2ffc488bab8aa9caa596a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":185,"deletions":40,"changed_files":8}}
{"actor":{"display_login":"chrislo27"}}