{"action":"created","comment":{"url":"https://api.github.com/repos/hydrabolt/discord.js/pulls/comments/99456432","pull_request_review_id":20138845,"id":99456432,"diff_hunk":"@@ -357,9 +357,10 @@ class Collection extends Map {\n     if (!collection) return false;\n     if (this === collection) return true;\n     if (this.size !== collection.size) return false;\n-    return !this.find((value, key) => {\n+    return this.every((value, key) => {\n+      if (!collection.has(key)) return false;\n       const testVal = collection.get(key);\n-      return testVal !== value || (testVal === undefined && !collection.has(key));\n+      return testVal === value || (testVal && testVal.equals && value && value.equals && testVal.equals(value));","path":"src/util/Collection.js","position":9,"original_position":9,"commit_id":"bb8359001599b7b8885cbddda25e196930c58d5b","original_commit_id":"bb8359001599b7b8885cbddda25e196930c58d5b","user":{"login":"Gawdl3y","id":279900,"avatar_url":"https://avatars.githubusercontent.com/u/279900?v=3","gravatar_id":"","url":"https://api.github.com/users/Gawdl3y","html_url":"https://github.com/Gawdl3y","followers_url":"https://api.github.com/users/Gawdl3y/followers","following_url":"https://api.github.com/users/Gawdl3y/following{/other_user}","gists_url":"https://api.github.com/users/Gawdl3y/gists{/gist_id}","starred_url":"https://api.github.com/users/Gawdl3y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gawdl3y/subscriptions","organizations_url":"https://api.github.com/users/Gawdl3y/orgs","repos_url":"https://api.github.com/users/Gawdl3y/repos","events_url":"https://api.github.com/users/Gawdl3y/events{/privacy}","received_events_url":"https://api.github.com/users/Gawdl3y/received_events","type":"User","site_admin":false},"body":"Checking for `value` and `value.equals` seems unnecessary, since you're not going to be calling those.","created_at":"2017-02-04T02:35:31Z","updated_at":"2017-02-04T02:35:38Z","html_url":"https://github.com/hydrabolt/discord.js/pull/1163#discussion_r99456432","pull_request_url":"https://api.github.com/repos/hydrabolt/discord.js/pulls/1163","_links":{"self":{"href":"https://api.github.com/repos/hydrabolt/discord.js/pulls/comments/99456432"},"html":{"href":"https://github.com/hydrabolt/discord.js/pull/1163#discussion_r99456432"},"pull_request":{"href":"https://api.github.com/repos/hydrabolt/discord.js/pulls/1163"}}},"pull_request":{"url":"https://api.github.com/repos/hydrabolt/discord.js/pulls/1163","id":104257885,"html_url":"https://github.com/hydrabolt/discord.js/pull/1163","diff_url":"https://github.com/hydrabolt/discord.js/pull/1163.diff","patch_url":"https://github.com/hydrabolt/discord.js/pull/1163.patch","issue_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/1163","number":1163,"state":"open","locked":false,"title":"Fix Collection#equals when nested Collections","user":{"login":"Slamakans","id":981929,"avatar_url":"https://avatars.githubusercontent.com/u/981929?v=3","gravatar_id":"","url":"https://api.github.com/users/Slamakans","html_url":"https://github.com/Slamakans","followers_url":"https://api.github.com/users/Slamakans/followers","following_url":"https://api.github.com/users/Slamakans/following{/other_user}","gists_url":"https://api.github.com/users/Slamakans/gists{/gist_id}","starred_url":"https://api.github.com/users/Slamakans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slamakans/subscriptions","organizations_url":"https://api.github.com/users/Slamakans/orgs","repos_url":"https://api.github.com/users/Slamakans/repos","events_url":"https://api.github.com/users/Slamakans/events{/privacy}","received_events_url":"https://api.github.com/users/Slamakans/received_events","type":"User","site_admin":false},"body":"Tested a couple of times","created_at":"2017-02-02T01:15:03Z","updated_at":"2017-02-04T02:35:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3903ec0133362d3159e503b0def999539f244aef","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hydrabolt/discord.js/pulls/1163/commits","review_comments_url":"https://api.github.com/repos/hydrabolt/discord.js/pulls/1163/comments","review_comment_url":"https://api.github.com/repos/hydrabolt/discord.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/1163/comments","statuses_url":"https://api.github.com/repos/hydrabolt/discord.js/statuses/bb8359001599b7b8885cbddda25e196930c58d5b","head":{"label":"Slamakans:master","ref":"master","sha":"bb8359001599b7b8885cbddda25e196930c58d5b","user":{"login":"Slamakans","id":981929,"avatar_url":"https://avatars.githubusercontent.com/u/981929?v=3","gravatar_id":"","url":"https://api.github.com/users/Slamakans","html_url":"https://github.com/Slamakans","followers_url":"https://api.github.com/users/Slamakans/followers","following_url":"https://api.github.com/users/Slamakans/following{/other_user}","gists_url":"https://api.github.com/users/Slamakans/gists{/gist_id}","starred_url":"https://api.github.com/users/Slamakans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slamakans/subscriptions","organizations_url":"https://api.github.com/users/Slamakans/orgs","repos_url":"https://api.github.com/users/Slamakans/repos","events_url":"https://api.github.com/users/Slamakans/events{/privacy}","received_events_url":"https://api.github.com/users/Slamakans/received_events","type":"User","site_admin":false},"repo":{"id":76110003,"name":"discord.js","full_name":"Slamakans/discord.js","owner":{"login":"Slamakans","id":981929,"avatar_url":"https://avatars.githubusercontent.com/u/981929?v=3","gravatar_id":"","url":"https://api.github.com/users/Slamakans","html_url":"https://github.com/Slamakans","followers_url":"https://api.github.com/users/Slamakans/followers","following_url":"https://api.github.com/users/Slamakans/following{/other_user}","gists_url":"https://api.github.com/users/Slamakans/gists{/gist_id}","starred_url":"https://api.github.com/users/Slamakans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slamakans/subscriptions","organizations_url":"https://api.github.com/users/Slamakans/orgs","repos_url":"https://api.github.com/users/Slamakans/repos","events_url":"https://api.github.com/users/Slamakans/events{/privacy}","received_events_url":"https://api.github.com/users/Slamakans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Slamakans/discord.js","description":"A powerful library for interacting with the Discord API","fork":true,"url":"https://api.github.com/repos/Slamakans/discord.js","forks_url":"https://api.github.com/repos/Slamakans/discord.js/forks","keys_url":"https://api.github.com/repos/Slamakans/discord.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Slamakans/discord.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Slamakans/discord.js/teams","hooks_url":"https://api.github.com/repos/Slamakans/discord.js/hooks","issue_events_url":"https://api.github.com/repos/Slamakans/discord.js/issues/events{/number}","events_url":"https://api.github.com/repos/Slamakans/discord.js/events","assignees_url":"https://api.github.com/repos/Slamakans/discord.js/assignees{/user}","branches_url":"https://api.github.com/repos/Slamakans/discord.js/branches{/branch}","tags_url":"https://api.github.com/repos/Slamakans/discord.js/tags","blobs_url":"https://api.github.com/repos/Slamakans/discord.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Slamakans/discord.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Slamakans/discord.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/Slamakans/discord.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Slamakans/discord.js/statuses/{sha}","languages_url":"https://api.github.com/repos/Slamakans/discord.js/languages","stargazers_url":"https://api.github.com/repos/Slamakans/discord.js/stargazers","contributors_url":"https://api.github.com/repos/Slamakans/discord.js/contributors","subscribers_url":"https://api.github.com/repos/Slamakans/discord.js/subscribers","subscription_url":"https://api.github.com/repos/Slamakans/discord.js/subscription","commits_url":"https://api.github.com/repos/Slamakans/discord.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/Slamakans/discord.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/Slamakans/discord.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/Slamakans/discord.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/Slamakans/discord.js/contents/{+path}","compare_url":"https://api.github.com/repos/Slamakans/discord.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Slamakans/discord.js/merges","archive_url":"https://api.github.com/repos/Slamakans/discord.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Slamakans/discord.js/downloads","issues_url":"https://api.github.com/repos/Slamakans/discord.js/issues{/number}","pulls_url":"https://api.github.com/repos/Slamakans/discord.js/pulls{/number}","milestones_url":"https://api.github.com/repos/Slamakans/discord.js/milestones{/number}","notifications_url":"https://api.github.com/repos/Slamakans/discord.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Slamakans/discord.js/labels{/name}","releases_url":"https://api.github.com/repos/Slamakans/discord.js/releases{/id}","deployments_url":"https://api.github.com/repos/Slamakans/discord.js/deployments","created_at":"2016-12-10T12:02:53Z","updated_at":"2016-12-10T12:02:54Z","pushed_at":"2017-02-03T01:05:46Z","git_url":"git://github.com/Slamakans/discord.js.git","ssh_url":"git@github.com:Slamakans/discord.js.git","clone_url":"https://github.com/Slamakans/discord.js.git","svn_url":"https://github.com/Slamakans/discord.js","homepage":"https://discord.js.org","size":22421,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"hydrabolt:master","ref":"master","sha":"cee9e4839cea558f41e9a67eccc89392d77c6c6f","user":{"login":"hydrabolt","id":10330923,"avatar_url":"https://avatars.githubusercontent.com/u/10330923?v=3","gravatar_id":"","url":"https://api.github.com/users/hydrabolt","html_url":"https://github.com/hydrabolt","followers_url":"https://api.github.com/users/hydrabolt/followers","following_url":"https://api.github.com/users/hydrabolt/following{/other_user}","gists_url":"https://api.github.com/users/hydrabolt/gists{/gist_id}","starred_url":"https://api.github.com/users/hydrabolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydrabolt/subscriptions","organizations_url":"https://api.github.com/users/hydrabolt/orgs","repos_url":"https://api.github.com/users/hydrabolt/repos","events_url":"https://api.github.com/users/hydrabolt/events{/privacy}","received_events_url":"https://api.github.com/users/hydrabolt/received_events","type":"User","site_admin":false},"repo":{"id":40484398,"name":"discord.js","full_name":"hydrabolt/discord.js","owner":{"login":"hydrabolt","id":10330923,"avatar_url":"https://avatars.githubusercontent.com/u/10330923?v=3","gravatar_id":"","url":"https://api.github.com/users/hydrabolt","html_url":"https://github.com/hydrabolt","followers_url":"https://api.github.com/users/hydrabolt/followers","following_url":"https://api.github.com/users/hydrabolt/following{/other_user}","gists_url":"https://api.github.com/users/hydrabolt/gists{/gist_id}","starred_url":"https://api.github.com/users/hydrabolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydrabolt/subscriptions","organizations_url":"https://api.github.com/users/hydrabolt/orgs","repos_url":"https://api.github.com/users/hydrabolt/repos","events_url":"https://api.github.com/users/hydrabolt/events{/privacy}","received_events_url":"https://api.github.com/users/hydrabolt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hydrabolt/discord.js","description":"A powerful library for interacting with the Discord API","fork":false,"url":"https://api.github.com/repos/hydrabolt/discord.js","forks_url":"https://api.github.com/repos/hydrabolt/discord.js/forks","keys_url":"https://api.github.com/repos/hydrabolt/discord.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hydrabolt/discord.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hydrabolt/discord.js/teams","hooks_url":"https://api.github.com/repos/hydrabolt/discord.js/hooks","issue_events_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/events{/number}","events_url":"https://api.github.com/repos/hydrabolt/discord.js/events","assignees_url":"https://api.github.com/repos/hydrabolt/discord.js/assignees{/user}","branches_url":"https://api.github.com/repos/hydrabolt/discord.js/branches{/branch}","tags_url":"https://api.github.com/repos/hydrabolt/discord.js/tags","blobs_url":"https://api.github.com/repos/hydrabolt/discord.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hydrabolt/discord.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hydrabolt/discord.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/hydrabolt/discord.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hydrabolt/discord.js/statuses/{sha}","languages_url":"https://api.github.com/repos/hydrabolt/discord.js/languages","stargazers_url":"https://api.github.com/repos/hydrabolt/discord.js/stargazers","contributors_url":"https://api.github.com/repos/hydrabolt/discord.js/contributors","subscribers_url":"https://api.github.com/repos/hydrabolt/discord.js/subscribers","subscription_url":"https://api.github.com/repos/hydrabolt/discord.js/subscription","commits_url":"https://api.github.com/repos/hydrabolt/discord.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/hydrabolt/discord.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/hydrabolt/discord.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/hydrabolt/discord.js/contents/{+path}","compare_url":"https://api.github.com/repos/hydrabolt/discord.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hydrabolt/discord.js/merges","archive_url":"https://api.github.com/repos/hydrabolt/discord.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hydrabolt/discord.js/downloads","issues_url":"https://api.github.com/repos/hydrabolt/discord.js/issues{/number}","pulls_url":"https://api.github.com/repos/hydrabolt/discord.js/pulls{/number}","milestones_url":"https://api.github.com/repos/hydrabolt/discord.js/milestones{/number}","notifications_url":"https://api.github.com/repos/hydrabolt/discord.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hydrabolt/discord.js/labels{/name}","releases_url":"https://api.github.com/repos/hydrabolt/discord.js/releases{/id}","deployments_url":"https://api.github.com/repos/hydrabolt/discord.js/deployments","created_at":"2015-08-10T13:36:26Z","updated_at":"2017-02-03T23:48:54Z","pushed_at":"2017-02-04T01:55:58Z","git_url":"git://github.com/hydrabolt/discord.js.git","ssh_url":"git@github.com:hydrabolt/discord.js.git","clone_url":"https://github.com/hydrabolt/discord.js.git","svn_url":"https://github.com/hydrabolt/discord.js","homepage":"https://discord.js.org","size":16921,"stargazers_count":820,"watchers_count":820,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":253,"mirror_url":null,"open_issues_count":15,"forks":253,"open_issues":15,"watchers":820,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hydrabolt/discord.js/pulls/1163"},"html":{"href":"https://github.com/hydrabolt/discord.js/pull/1163"},"issue":{"href":"https://api.github.com/repos/hydrabolt/discord.js/issues/1163"},"comments":{"href":"https://api.github.com/repos/hydrabolt/discord.js/issues/1163/comments"},"review_comments":{"href":"https://api.github.com/repos/hydrabolt/discord.js/pulls/1163/comments"},"review_comment":{"href":"https://api.github.com/repos/hydrabolt/discord.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hydrabolt/discord.js/pulls/1163/commits"},"statuses":{"href":"https://api.github.com/repos/hydrabolt/discord.js/statuses/bb8359001599b7b8885cbddda25e196930c58d5b"}}}}
{"actor":{"display_login":"Gawdl3y"}}