{"action":"created","comment":{"url":"https://api.github.com/repos/b1naryth1ef/disco/pulls/comments/195808563","pull_request_review_id":129250499,"id":195808563,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTgwODU2Mw==","diff_hunk":"@@ -144,6 +186,19 @@ def on_voice_ready(self, data):\n             self.disconnect()\n             return\n \n+        codecs = []\n+\n+        for i in range(len(AudioCodecs)):\n+            codec = AudioCodecs[i]\n+            payload_type = PayloadTypes.get(codec)\n+            if payload_type:\n+                codecs.append({","path":"disco/voice/client.py","position":130,"original_position":130,"commit_id":"445e71e0751cb0be62530ce40125dc1560247a52","original_commit_id":"445e71e0751cb0be62530ce40125dc1560247a52","user":{"login":"b1naryth1ef","id":599433,"node_id":"MDQ6VXNlcjU5OTQzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/599433?v=4","gravatar_id":"","url":"https://api.github.com/users/b1naryth1ef","html_url":"https://github.com/b1naryth1ef","followers_url":"https://api.github.com/users/b1naryth1ef/followers","following_url":"https://api.github.com/users/b1naryth1ef/following{/other_user}","gists_url":"https://api.github.com/users/b1naryth1ef/gists{/gist_id}","starred_url":"https://api.github.com/users/b1naryth1ef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b1naryth1ef/subscriptions","organizations_url":"https://api.github.com/users/b1naryth1ef/orgs","repos_url":"https://api.github.com/users/b1naryth1ef/repos","events_url":"https://api.github.com/users/b1naryth1ef/events{/privacy}","received_events_url":"https://api.github.com/users/b1naryth1ef/received_events","type":"User","site_admin":false},"body":"Comment describing whats going on here would be good.","created_at":"2018-06-15T17:12:26Z","updated_at":"2018-06-15T17:15:56Z","html_url":"https://github.com/b1naryth1ef/disco/pull/101#discussion_r195808563","pull_request_url":"https://api.github.com/repos/b1naryth1ef/disco/pulls/101","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/b1naryth1ef/disco/pulls/comments/195808563"},"html":{"href":"https://github.com/b1naryth1ef/disco/pull/101#discussion_r195808563"},"pull_request":{"href":"https://api.github.com/repos/b1naryth1ef/disco/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/b1naryth1ef/disco/pulls/101","id":195063933,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MDYzOTMz","html_url":"https://github.com/b1naryth1ef/disco/pull/101","diff_url":"https://github.com/b1naryth1ef/disco/pull/101.diff","patch_url":"https://github.com/b1naryth1ef/disco/pull/101.patch","issue_url":"https://api.github.com/repos/b1naryth1ef/disco/issues/101","number":101,"state":"open","locked":false,"title":"voice receive support","user":{"login":"cakedan","id":31395415,"node_id":"MDQ6VXNlcjMxMzk1NDE1","avatar_url":"https://avatars2.githubusercontent.com/u/31395415?v=4","gravatar_id":"","url":"https://api.github.com/users/cakedan","html_url":"https://github.com/cakedan","followers_url":"https://api.github.com/users/cakedan/followers","following_url":"https://api.github.com/users/cakedan/following{/other_user}","gists_url":"https://api.github.com/users/cakedan/gists{/gist_id}","starred_url":"https://api.github.com/users/cakedan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakedan/subscriptions","organizations_url":"https://api.github.com/users/cakedan/orgs","repos_url":"https://api.github.com/users/cakedan/repos","events_url":"https://api.github.com/users/cakedan/events{/privacy}","received_events_url":"https://api.github.com/users/cakedan/received_events","type":"User","site_admin":false},"body":"creates a VoiceData event and a VoiceSpeaking event\r\n\r\nI didn't send in a user object with either event, just a user_id, didn't know if you wanted the full user object to be sent with them or not","created_at":"2018-06-15T02:30:58Z","updated_at":"2018-06-15T17:15:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e45169a10812a1d03bdd7ddd8d1a2a11839fd6b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/b1naryth1ef/disco/pulls/101/commits","review_comments_url":"https://api.github.com/repos/b1naryth1ef/disco/pulls/101/comments","review_comment_url":"https://api.github.com/repos/b1naryth1ef/disco/pulls/comments{/number}","comments_url":"https://api.github.com/repos/b1naryth1ef/disco/issues/101/comments","statuses_url":"https://api.github.com/repos/b1naryth1ef/disco/statuses/445e71e0751cb0be62530ce40125dc1560247a52","head":{"label":"cakedan:master","ref":"master","sha":"445e71e0751cb0be62530ce40125dc1560247a52","user":{"login":"cakedan","id":31395415,"node_id":"MDQ6VXNlcjMxMzk1NDE1","avatar_url":"https://avatars2.githubusercontent.com/u/31395415?v=4","gravatar_id":"","url":"https://api.github.com/users/cakedan","html_url":"https://github.com/cakedan","followers_url":"https://api.github.com/users/cakedan/followers","following_url":"https://api.github.com/users/cakedan/following{/other_user}","gists_url":"https://api.github.com/users/cakedan/gists{/gist_id}","starred_url":"https://api.github.com/users/cakedan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakedan/subscriptions","organizations_url":"https://api.github.com/users/cakedan/orgs","repos_url":"https://api.github.com/users/cakedan/repos","events_url":"https://api.github.com/users/cakedan/events{/privacy}","received_events_url":"https://api.github.com/users/cakedan/received_events","type":"User","site_admin":false},"repo":{"id":137414358,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc0MTQzNTg=","name":"disco","full_name":"cakedan/disco","owner":{"login":"cakedan","id":31395415,"node_id":"MDQ6VXNlcjMxMzk1NDE1","avatar_url":"https://avatars2.githubusercontent.com/u/31395415?v=4","gravatar_id":"","url":"https://api.github.com/users/cakedan","html_url":"https://github.com/cakedan","followers_url":"https://api.github.com/users/cakedan/followers","following_url":"https://api.github.com/users/cakedan/following{/other_user}","gists_url":"https://api.github.com/users/cakedan/gists{/gist_id}","starred_url":"https://api.github.com/users/cakedan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakedan/subscriptions","organizations_url":"https://api.github.com/users/cakedan/orgs","repos_url":"https://api.github.com/users/cakedan/repos","events_url":"https://api.github.com/users/cakedan/events{/privacy}","received_events_url":"https://api.github.com/users/cakedan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cakedan/disco","description":"Discord Python library for people that like to dance","fork":true,"url":"https://api.github.com/repos/cakedan/disco","forks_url":"https://api.github.com/repos/cakedan/disco/forks","keys_url":"https://api.github.com/repos/cakedan/disco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cakedan/disco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cakedan/disco/teams","hooks_url":"https://api.github.com/repos/cakedan/disco/hooks","issue_events_url":"https://api.github.com/repos/cakedan/disco/issues/events{/number}","events_url":"https://api.github.com/repos/cakedan/disco/events","assignees_url":"https://api.github.com/repos/cakedan/disco/assignees{/user}","branches_url":"https://api.github.com/repos/cakedan/disco/branches{/branch}","tags_url":"https://api.github.com/repos/cakedan/disco/tags","blobs_url":"https://api.github.com/repos/cakedan/disco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cakedan/disco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cakedan/disco/git/refs{/sha}","trees_url":"https://api.github.com/repos/cakedan/disco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cakedan/disco/statuses/{sha}","languages_url":"https://api.github.com/repos/cakedan/disco/languages","stargazers_url":"https://api.github.com/repos/cakedan/disco/stargazers","contributors_url":"https://api.github.com/repos/cakedan/disco/contributors","subscribers_url":"https://api.github.com/repos/cakedan/disco/subscribers","subscription_url":"https://api.github.com/repos/cakedan/disco/subscription","commits_url":"https://api.github.com/repos/cakedan/disco/commits{/sha}","git_commits_url":"https://api.github.com/repos/cakedan/disco/git/commits{/sha}","comments_url":"https://api.github.com/repos/cakedan/disco/comments{/number}","issue_comment_url":"https://api.github.com/repos/cakedan/disco/issues/comments{/number}","contents_url":"https://api.github.com/repos/cakedan/disco/contents/{+path}","compare_url":"https://api.github.com/repos/cakedan/disco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cakedan/disco/merges","archive_url":"https://api.github.com/repos/cakedan/disco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cakedan/disco/downloads","issues_url":"https://api.github.com/repos/cakedan/disco/issues{/number}","pulls_url":"https://api.github.com/repos/cakedan/disco/pulls{/number}","milestones_url":"https://api.github.com/repos/cakedan/disco/milestones{/number}","notifications_url":"https://api.github.com/repos/cakedan/disco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cakedan/disco/labels{/name}","releases_url":"https://api.github.com/repos/cakedan/disco/releases{/id}","deployments_url":"https://api.github.com/repos/cakedan/disco/deployments","created_at":"2018-06-14T22:11:18Z","updated_at":"2018-06-15T15:52:11Z","pushed_at":"2018-06-15T15:52:09Z","git_url":"git://github.com/cakedan/disco.git","ssh_url":"git@github.com:cakedan/disco.git","clone_url":"https://github.com/cakedan/disco.git","svn_url":"https://github.com/cakedan/disco","homepage":"https://b1naryth1ef.github.io/disco/","size":1501,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"b1naryth1ef:master","ref":"master","sha":"ec7f0797a9c11deb02a1c1e11a66436bcb5acce0","user":{"login":"b1naryth1ef","id":599433,"node_id":"MDQ6VXNlcjU5OTQzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/599433?v=4","gravatar_id":"","url":"https://api.github.com/users/b1naryth1ef","html_url":"https://github.com/b1naryth1ef","followers_url":"https://api.github.com/users/b1naryth1ef/followers","following_url":"https://api.github.com/users/b1naryth1ef/following{/other_user}","gists_url":"https://api.github.com/users/b1naryth1ef/gists{/gist_id}","starred_url":"https://api.github.com/users/b1naryth1ef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b1naryth1ef/subscriptions","organizations_url":"https://api.github.com/users/b1naryth1ef/orgs","repos_url":"https://api.github.com/users/b1naryth1ef/repos","events_url":"https://api.github.com/users/b1naryth1ef/events{/privacy}","received_events_url":"https://api.github.com/users/b1naryth1ef/received_events","type":"User","site_admin":false},"repo":{"id":64710850,"node_id":"MDEwOlJlcG9zaXRvcnk2NDcxMDg1MA==","name":"disco","full_name":"b1naryth1ef/disco","owner":{"login":"b1naryth1ef","id":599433,"node_id":"MDQ6VXNlcjU5OTQzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/599433?v=4","gravatar_id":"","url":"https://api.github.com/users/b1naryth1ef","html_url":"https://github.com/b1naryth1ef","followers_url":"https://api.github.com/users/b1naryth1ef/followers","following_url":"https://api.github.com/users/b1naryth1ef/following{/other_user}","gists_url":"https://api.github.com/users/b1naryth1ef/gists{/gist_id}","starred_url":"https://api.github.com/users/b1naryth1ef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b1naryth1ef/subscriptions","organizations_url":"https://api.github.com/users/b1naryth1ef/orgs","repos_url":"https://api.github.com/users/b1naryth1ef/repos","events_url":"https://api.github.com/users/b1naryth1ef/events{/privacy}","received_events_url":"https://api.github.com/users/b1naryth1ef/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/b1naryth1ef/disco","description":"Discord Python library for people that like to dance","fork":false,"url":"https://api.github.com/repos/b1naryth1ef/disco","forks_url":"https://api.github.com/repos/b1naryth1ef/disco/forks","keys_url":"https://api.github.com/repos/b1naryth1ef/disco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/b1naryth1ef/disco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/b1naryth1ef/disco/teams","hooks_url":"https://api.github.com/repos/b1naryth1ef/disco/hooks","issue_events_url":"https://api.github.com/repos/b1naryth1ef/disco/issues/events{/number}","events_url":"https://api.github.com/repos/b1naryth1ef/disco/events","assignees_url":"https://api.github.com/repos/b1naryth1ef/disco/assignees{/user}","branches_url":"https://api.github.com/repos/b1naryth1ef/disco/branches{/branch}","tags_url":"https://api.github.com/repos/b1naryth1ef/disco/tags","blobs_url":"https://api.github.com/repos/b1naryth1ef/disco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/b1naryth1ef/disco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/b1naryth1ef/disco/git/refs{/sha}","trees_url":"https://api.github.com/repos/b1naryth1ef/disco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/b1naryth1ef/disco/statuses/{sha}","languages_url":"https://api.github.com/repos/b1naryth1ef/disco/languages","stargazers_url":"https://api.github.com/repos/b1naryth1ef/disco/stargazers","contributors_url":"https://api.github.com/repos/b1naryth1ef/disco/contributors","subscribers_url":"https://api.github.com/repos/b1naryth1ef/disco/subscribers","subscription_url":"https://api.github.com/repos/b1naryth1ef/disco/subscription","commits_url":"https://api.github.com/repos/b1naryth1ef/disco/commits{/sha}","git_commits_url":"https://api.github.com/repos/b1naryth1ef/disco/git/commits{/sha}","comments_url":"https://api.github.com/repos/b1naryth1ef/disco/comments{/number}","issue_comment_url":"https://api.github.com/repos/b1naryth1ef/disco/issues/comments{/number}","contents_url":"https://api.github.com/repos/b1naryth1ef/disco/contents/{+path}","compare_url":"https://api.github.com/repos/b1naryth1ef/disco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/b1naryth1ef/disco/merges","archive_url":"https://api.github.com/repos/b1naryth1ef/disco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/b1naryth1ef/disco/downloads","issues_url":"https://api.github.com/repos/b1naryth1ef/disco/issues{/number}","pulls_url":"https://api.github.com/repos/b1naryth1ef/disco/pulls{/number}","milestones_url":"https://api.github.com/repos/b1naryth1ef/disco/milestones{/number}","notifications_url":"https://api.github.com/repos/b1naryth1ef/disco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/b1naryth1ef/disco/labels{/name}","releases_url":"https://api.github.com/repos/b1naryth1ef/disco/releases{/id}","deployments_url":"https://api.github.com/repos/b1naryth1ef/disco/deployments","created_at":"2016-08-02T00:29:23Z","updated_at":"2018-06-15T16:09:08Z","pushed_at":"2018-06-15T15:52:10Z","git_url":"git://github.com/b1naryth1ef/disco.git","ssh_url":"git@github.com:b1naryth1ef/disco.git","clone_url":"https://github.com/b1naryth1ef/disco.git","svn_url":"https://github.com/b1naryth1ef/disco","homepage":"https://b1naryth1ef.github.io/disco/","size":1474,"stargazers_count":152,"watchers_count":152,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":51,"open_issues":10,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/b1naryth1ef/disco/pulls/101"},"html":{"href":"https://github.com/b1naryth1ef/disco/pull/101"},"issue":{"href":"https://api.github.com/repos/b1naryth1ef/disco/issues/101"},"comments":{"href":"https://api.github.com/repos/b1naryth1ef/disco/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/b1naryth1ef/disco/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/b1naryth1ef/disco/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/b1naryth1ef/disco/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/b1naryth1ef/disco/statuses/445e71e0751cb0be62530ce40125dc1560247a52"}},"author_association":"NONE"}}
{"actor":{"display_login":"b1naryth1ef"}}