{"action":"closed","number":3128,"pull_request":{"url":"https://api.github.com/repos/discordjs/discord.js/pulls/3128","id":258340266,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU4MzQwMjY2","html_url":"https://github.com/discordjs/discord.js/pull/3128","diff_url":"https://github.com/discordjs/discord.js/pull/3128.diff","patch_url":"https://github.com/discordjs/discord.js/pull/3128.patch","issue_url":"https://api.github.com/repos/discordjs/discord.js/issues/3128","number":3128,"state":"closed","locked":false,"title":"Use split parameter to determine return value of send methods","user":{"login":"TomSputz","id":25057690,"node_id":"MDQ6VXNlcjI1MDU3Njkw","avatar_url":"https://avatars1.githubusercontent.com/u/25057690?v=4","gravatar_id":"","url":"https://api.github.com/users/TomSputz","html_url":"https://github.com/TomSputz","followers_url":"https://api.github.com/users/TomSputz/followers","following_url":"https://api.github.com/users/TomSputz/following{/other_user}","gists_url":"https://api.github.com/users/TomSputz/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSputz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSputz/subscriptions","organizations_url":"https://api.github.com/users/TomSputz/orgs","repos_url":"https://api.github.com/users/TomSputz/repos","events_url":"https://api.github.com/users/TomSputz/events{/privacy}","received_events_url":"https://api.github.com/users/TomSputz/received_events","type":"User","site_admin":false},"body":"**Please describe the changes this PR makes and why it should be merged:**\r\n\r\nAdds typings to methods that utilise `split`, changing the return value to an array if it is used\r\n\r\n**Status**\r\n- [x] Code changes have been tested against the Discord API, or there are no code changes\r\n- [x] I know how to update typings and have done so, or typings don't need updating\r\n\r\n**Semantic versioning classification:**  \r\n- [ ] This PR changes the library's interface (methods or parameters added)\r\n  - [x] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)\r\n- [ ] This PR **only** includes non-code changes, like changes to documentation, README, etc.\r\n","created_at":"2019-03-05T14:12:21Z","updated_at":"2019-03-05T14:34:36Z","closed_at":"2019-03-05T14:34:36Z","merged_at":null,"merge_commit_sha":"3bbc6ea23ae4d15d7284e96480cc16a80c0fbe1a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/discordjs/discord.js/pulls/3128/commits","review_comments_url":"https://api.github.com/repos/discordjs/discord.js/pulls/3128/comments","review_comment_url":"https://api.github.com/repos/discordjs/discord.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/discordjs/discord.js/issues/3128/comments","statuses_url":"https://api.github.com/repos/discordjs/discord.js/statuses/f5c54b27fe2c5ab96a94abe6a21dfe4757f05903","head":{"label":"TomSputz:GenericSplit","ref":"GenericSplit","sha":"f5c54b27fe2c5ab96a94abe6a21dfe4757f05903","user":{"login":"TomSputz","id":25057690,"node_id":"MDQ6VXNlcjI1MDU3Njkw","avatar_url":"https://avatars1.githubusercontent.com/u/25057690?v=4","gravatar_id":"","url":"https://api.github.com/users/TomSputz","html_url":"https://github.com/TomSputz","followers_url":"https://api.github.com/users/TomSputz/followers","following_url":"https://api.github.com/users/TomSputz/following{/other_user}","gists_url":"https://api.github.com/users/TomSputz/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSputz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSputz/subscriptions","organizations_url":"https://api.github.com/users/TomSputz/orgs","repos_url":"https://api.github.com/users/TomSputz/repos","events_url":"https://api.github.com/users/TomSputz/events{/privacy}","received_events_url":"https://api.github.com/users/TomSputz/received_events","type":"User","site_admin":false},"repo":{"id":155072070,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUwNzIwNzA=","name":"discord.js","full_name":"TomSputz/discord.js","private":false,"owner":{"login":"TomSputz","id":25057690,"node_id":"MDQ6VXNlcjI1MDU3Njkw","avatar_url":"https://avatars1.githubusercontent.com/u/25057690?v=4","gravatar_id":"","url":"https://api.github.com/users/TomSputz","html_url":"https://github.com/TomSputz","followers_url":"https://api.github.com/users/TomSputz/followers","following_url":"https://api.github.com/users/TomSputz/following{/other_user}","gists_url":"https://api.github.com/users/TomSputz/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSputz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSputz/subscriptions","organizations_url":"https://api.github.com/users/TomSputz/orgs","repos_url":"https://api.github.com/users/TomSputz/repos","events_url":"https://api.github.com/users/TomSputz/events{/privacy}","received_events_url":"https://api.github.com/users/TomSputz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/TomSputz/discord.js","description":"A powerful JavaScript library for interacting with the Discord API","fork":true,"url":"https://api.github.com/repos/TomSputz/discord.js","forks_url":"https://api.github.com/repos/TomSputz/discord.js/forks","keys_url":"https://api.github.com/repos/TomSputz/discord.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TomSputz/discord.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TomSputz/discord.js/teams","hooks_url":"https://api.github.com/repos/TomSputz/discord.js/hooks","issue_events_url":"https://api.github.com/repos/TomSputz/discord.js/issues/events{/number}","events_url":"https://api.github.com/repos/TomSputz/discord.js/events","assignees_url":"https://api.github.com/repos/TomSputz/discord.js/assignees{/user}","branches_url":"https://api.github.com/repos/TomSputz/discord.js/branches{/branch}","tags_url":"https://api.github.com/repos/TomSputz/discord.js/tags","blobs_url":"https://api.github.com/repos/TomSputz/discord.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TomSputz/discord.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TomSputz/discord.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/TomSputz/discord.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TomSputz/discord.js/statuses/{sha}","languages_url":"https://api.github.com/repos/TomSputz/discord.js/languages","stargazers_url":"https://api.github.com/repos/TomSputz/discord.js/stargazers","contributors_url":"https://api.github.com/repos/TomSputz/discord.js/contributors","subscribers_url":"https://api.github.com/repos/TomSputz/discord.js/subscribers","subscription_url":"https://api.github.com/repos/TomSputz/discord.js/subscription","commits_url":"https://api.github.com/repos/TomSputz/discord.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/TomSputz/discord.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/TomSputz/discord.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/TomSputz/discord.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/TomSputz/discord.js/contents/{+path}","compare_url":"https://api.github.com/repos/TomSputz/discord.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TomSputz/discord.js/merges","archive_url":"https://api.github.com/repos/TomSputz/discord.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TomSputz/discord.js/downloads","issues_url":"https://api.github.com/repos/TomSputz/discord.js/issues{/number}","pulls_url":"https://api.github.com/repos/TomSputz/discord.js/pulls{/number}","milestones_url":"https://api.github.com/repos/TomSputz/discord.js/milestones{/number}","notifications_url":"https://api.github.com/repos/TomSputz/discord.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TomSputz/discord.js/labels{/name}","releases_url":"https://api.github.com/repos/TomSputz/discord.js/releases{/id}","deployments_url":"https://api.github.com/repos/TomSputz/discord.js/deployments","created_at":"2018-10-28T13:06:30Z","updated_at":"2019-03-05T14:10:26Z","pushed_at":"2019-03-05T14:10:24Z","git_url":"git://github.com/TomSputz/discord.js.git","ssh_url":"git@github.com:TomSputz/discord.js.git","clone_url":"https://github.com/TomSputz/discord.js.git","svn_url":"https://github.com/TomSputz/discord.js","homepage":"https://discord.js.org","size":52353,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"discordjs:master","ref":"master","sha":"1207c243d1d819b2a78230bb194e07f14d966ea9","user":{"login":"discordjs","id":26492485,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NDkyNDg1","avatar_url":"https://avatars2.githubusercontent.com/u/26492485?v=4","gravatar_id":"","url":"https://api.github.com/users/discordjs","html_url":"https://github.com/discordjs","followers_url":"https://api.github.com/users/discordjs/followers","following_url":"https://api.github.com/users/discordjs/following{/other_user}","gists_url":"https://api.github.com/users/discordjs/gists{/gist_id}","starred_url":"https://api.github.com/users/discordjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discordjs/subscriptions","organizations_url":"https://api.github.com/users/discordjs/orgs","repos_url":"https://api.github.com/users/discordjs/repos","events_url":"https://api.github.com/users/discordjs/events{/privacy}","received_events_url":"https://api.github.com/users/discordjs/received_events","type":"Organization","site_admin":false},"repo":{"id":40484398,"node_id":"MDEwOlJlcG9zaXRvcnk0MDQ4NDM5OA==","name":"discord.js","full_name":"discordjs/discord.js","private":false,"owner":{"login":"discordjs","id":26492485,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NDkyNDg1","avatar_url":"https://avatars2.githubusercontent.com/u/26492485?v=4","gravatar_id":"","url":"https://api.github.com/users/discordjs","html_url":"https://github.com/discordjs","followers_url":"https://api.github.com/users/discordjs/followers","following_url":"https://api.github.com/users/discordjs/following{/other_user}","gists_url":"https://api.github.com/users/discordjs/gists{/gist_id}","starred_url":"https://api.github.com/users/discordjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discordjs/subscriptions","organizations_url":"https://api.github.com/users/discordjs/orgs","repos_url":"https://api.github.com/users/discordjs/repos","events_url":"https://api.github.com/users/discordjs/events{/privacy}","received_events_url":"https://api.github.com/users/discordjs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/discordjs/discord.js","description":"A powerful JavaScript library for interacting with the Discord API","fork":false,"url":"https://api.github.com/repos/discordjs/discord.js","forks_url":"https://api.github.com/repos/discordjs/discord.js/forks","keys_url":"https://api.github.com/repos/discordjs/discord.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/discordjs/discord.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/discordjs/discord.js/teams","hooks_url":"https://api.github.com/repos/discordjs/discord.js/hooks","issue_events_url":"https://api.github.com/repos/discordjs/discord.js/issues/events{/number}","events_url":"https://api.github.com/repos/discordjs/discord.js/events","assignees_url":"https://api.github.com/repos/discordjs/discord.js/assignees{/user}","branches_url":"https://api.github.com/repos/discordjs/discord.js/branches{/branch}","tags_url":"https://api.github.com/repos/discordjs/discord.js/tags","blobs_url":"https://api.github.com/repos/discordjs/discord.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/discordjs/discord.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/discordjs/discord.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/discordjs/discord.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/discordjs/discord.js/statuses/{sha}","languages_url":"https://api.github.com/repos/discordjs/discord.js/languages","stargazers_url":"https://api.github.com/repos/discordjs/discord.js/stargazers","contributors_url":"https://api.github.com/repos/discordjs/discord.js/contributors","subscribers_url":"https://api.github.com/repos/discordjs/discord.js/subscribers","subscription_url":"https://api.github.com/repos/discordjs/discord.js/subscription","commits_url":"https://api.github.com/repos/discordjs/discord.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/discordjs/discord.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/discordjs/discord.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/discordjs/discord.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/discordjs/discord.js/contents/{+path}","compare_url":"https://api.github.com/repos/discordjs/discord.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/discordjs/discord.js/merges","archive_url":"https://api.github.com/repos/discordjs/discord.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/discordjs/discord.js/downloads","issues_url":"https://api.github.com/repos/discordjs/discord.js/issues{/number}","pulls_url":"https://api.github.com/repos/discordjs/discord.js/pulls{/number}","milestones_url":"https://api.github.com/repos/discordjs/discord.js/milestones{/number}","notifications_url":"https://api.github.com/repos/discordjs/discord.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/discordjs/discord.js/labels{/name}","releases_url":"https://api.github.com/repos/discordjs/discord.js/releases{/id}","deployments_url":"https://api.github.com/repos/discordjs/discord.js/deployments","created_at":"2015-08-10T13:36:26Z","updated_at":"2019-03-05T12:37:11Z","pushed_at":"2019-03-05T14:12:21Z","git_url":"git://github.com/discordjs/discord.js.git","ssh_url":"git@github.com:discordjs/discord.js.git","clone_url":"https://github.com/discordjs/discord.js.git","svn_url":"https://github.com/discordjs/discord.js","homepage":"https://discord.js.org","size":53055,"stargazers_count":3513,"watchers_count":3513,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":925,"mirror_url":null,"archived":false,"open_issues_count":67,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":925,"open_issues":67,"watchers":3513,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/discordjs/discord.js/pulls/3128"},"html":{"href":"https://github.com/discordjs/discord.js/pull/3128"},"issue":{"href":"https://api.github.com/repos/discordjs/discord.js/issues/3128"},"comments":{"href":"https://api.github.com/repos/discordjs/discord.js/issues/3128/comments"},"review_comments":{"href":"https://api.github.com/repos/discordjs/discord.js/pulls/3128/comments"},"review_comment":{"href":"https://api.github.com/repos/discordjs/discord.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/discordjs/discord.js/pulls/3128/commits"},"statuses":{"href":"https://api.github.com/repos/discordjs/discord.js/statuses/f5c54b27fe2c5ab96a94abe6a21dfe4757f05903"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":false,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":17,"deletions":19,"changed_files":1}}
{"actor":{"display_login":"TomSputz"}}