{"action":"created","issue":{"url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1980","repository_url":"https://api.github.com/repos/SpigotMC/BungeeCord","labels_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1980/labels{/name}","comments_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1980/comments","events_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1980/events","html_url":"https://github.com/SpigotMC/BungeeCord/pull/1980","id":186337458,"number":1980,"title":"Add API to get the character of a ChatColor","user":{"login":"Mystiflow","id":10323494,"avatar_url":"https://avatars.githubusercontent.com/u/10323494?v=3","gravatar_id":"","url":"https://api.github.com/users/Mystiflow","html_url":"https://github.com/Mystiflow","followers_url":"https://api.github.com/users/Mystiflow/followers","following_url":"https://api.github.com/users/Mystiflow/following{/other_user}","gists_url":"https://api.github.com/users/Mystiflow/gists{/gist_id}","starred_url":"https://api.github.com/users/Mystiflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mystiflow/subscriptions","organizations_url":"https://api.github.com/users/Mystiflow/orgs","repos_url":"https://api.github.com/users/Mystiflow/repos","events_url":"https://api.github.com/users/Mystiflow/events{/privacy}","received_events_url":"https://api.github.com/users/Mystiflow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-31T16:55:36Z","updated_at":"2016-11-02T01:56:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SpigotMC/BungeeCord/pulls/1980","html_url":"https://github.com/SpigotMC/BungeeCord/pull/1980","diff_url":"https://github.com/SpigotMC/BungeeCord/pull/1980.diff","patch_url":"https://github.com/SpigotMC/BungeeCord/pull/1980.patch"},"body":"Use case: converting between Bukkit and BungeeCord chat colors more easily when writing plugins with the Spigot API.\r\n\r\nAlso provides general API completeness."},"comment":{"url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/comments/257751426","html_url":"https://github.com/SpigotMC/BungeeCord/pull/1980#issuecomment-257751426","issue_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1980","id":257751426,"user":{"login":"Mystiflow","id":10323494,"avatar_url":"https://avatars.githubusercontent.com/u/10323494?v=3","gravatar_id":"","url":"https://api.github.com/users/Mystiflow","html_url":"https://github.com/Mystiflow","followers_url":"https://api.github.com/users/Mystiflow/followers","following_url":"https://api.github.com/users/Mystiflow/following{/other_user}","gists_url":"https://api.github.com/users/Mystiflow/gists{/gist_id}","starred_url":"https://api.github.com/users/Mystiflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mystiflow/subscriptions","organizations_url":"https://api.github.com/users/Mystiflow/orgs","repos_url":"https://api.github.com/users/Mystiflow/repos","events_url":"https://api.github.com/users/Mystiflow/events{/privacy}","received_events_url":"https://api.github.com/users/Mystiflow/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T01:56:19Z","updated_at":"2016-11-02T01:56:19Z","body":"If we have a getByChar(char) API method, surely it would make sense to implement the getChar() method too.\r\n\r\nI just think it is pernickety for Spigot plugins to use a hacky workaround such as extracting the code from the toString() method or using ifElse or switchCase statements.\r\n\r\nIf you're still not convinced, feel free to close this PR."}}
{"actor":{"display_login":"Mystiflow"}}