{"action":"reopened","issue":{"url":"https://api.github.com/repos/hydrabolt/discord.js/issues/59","labels_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/59/comments","events_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/59/events","html_url":"https://github.com/hydrabolt/discord.js/issues/59","id":118304237,"number":59,"title":"updateRole clears out all permissions ","user":{"login":"Deukhoofd","id":10423862,"avatar_url":"https://avatars.githubusercontent.com/u/10423862?v=3","gravatar_id":"","url":"https://api.github.com/users/Deukhoofd","html_url":"https://github.com/Deukhoofd","followers_url":"https://api.github.com/users/Deukhoofd/followers","following_url":"https://api.github.com/users/Deukhoofd/following{/other_user}","gists_url":"https://api.github.com/users/Deukhoofd/gists{/gist_id}","starred_url":"https://api.github.com/users/Deukhoofd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deukhoofd/subscriptions","organizations_url":"https://api.github.com/users/Deukhoofd/orgs","repos_url":"https://api.github.com/users/Deukhoofd/repos","events_url":"https://api.github.com/users/Deukhoofd/events{/privacy}","received_events_url":"https://api.github.com/users/Deukhoofd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-23T01:33:25Z","updated_at":"2015-11-23T20:50:31Z","closed_at":null,"body":"Doing some fairly simple code:\r\n\r\n    hexcode_ = contentsplit[contentlength - 1].toString();\r\n    hexcode= parseInt(hexcode_, 16)\r\n    bot.updateRole(role1, {\r\n         color: hexcode,\r\n     })\r\n\r\nSets all permissions for that role to false. Name and hoist are unaffected, color is changed as supposed"}}