{"action":"opened","issue":{"url":"https://api.github.com/repos/hydrabolt/discord.js/issues/494","repository_url":"https://api.github.com/repos/hydrabolt/discord.js","labels_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/494/comments","events_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/494/events","html_url":"https://github.com/hydrabolt/discord.js/issues/494","id":169050177,"number":494,"title":"bot.memberHasRole() - Should be Boolean?","user":{"login":"Hyper-Coder","id":19532144,"avatar_url":"https://avatars.githubusercontent.com/u/19532144?v=3","gravatar_id":"","url":"https://api.github.com/users/Hyper-Coder","html_url":"https://github.com/Hyper-Coder","followers_url":"https://api.github.com/users/Hyper-Coder/followers","following_url":"https://api.github.com/users/Hyper-Coder/following{/other_user}","gists_url":"https://api.github.com/users/Hyper-Coder/gists{/gist_id}","starred_url":"https://api.github.com/users/Hyper-Coder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hyper-Coder/subscriptions","organizations_url":"https://api.github.com/users/Hyper-Coder/orgs","repos_url":"https://api.github.com/users/Hyper-Coder/repos","events_url":"https://api.github.com/users/Hyper-Coder/events{/privacy}","received_events_url":"https://api.github.com/users/Hyper-Coder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T05:22:40Z","updated_at":"2016-08-03T05:22:40Z","closed_at":null,"body":"While using the `bot.memberHasRole()` function, it would make sense for it to be a Boolean of true or false if the user has a role. Instead, if the user has the role, it'll return the role; where if the user doesn't have the role, it'll return a TypeError.\r\n\r\n![image](https://images.typicalbot.com/i/57a17f6fcac6d.png)"}}
{"actor":{"display_login":"Hyper-Coder"}}