{"action":"created","issue":{"url":"https://api.github.com/repos/hydrabolt/discord.js/issues/512","repository_url":"https://api.github.com/repos/hydrabolt/discord.js","labels_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/512/labels{/name}","comments_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/512/comments","events_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/512/events","html_url":"https://github.com/hydrabolt/discord.js/issues/512","id":170709579,"number":512,"title":"examples/permissions/adminbot.js broken ","user":{"login":"SloppierKitty7","id":6461147,"avatar_url":"https://avatars.githubusercontent.com/u/6461147?v=3","gravatar_id":"","url":"https://api.github.com/users/SloppierKitty7","html_url":"https://github.com/SloppierKitty7","followers_url":"https://api.github.com/users/SloppierKitty7/followers","following_url":"https://api.github.com/users/SloppierKitty7/following{/other_user}","gists_url":"https://api.github.com/users/SloppierKitty7/gists{/gist_id}","starred_url":"https://api.github.com/users/SloppierKitty7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SloppierKitty7/subscriptions","organizations_url":"https://api.github.com/users/SloppierKitty7/orgs","repos_url":"https://api.github.com/users/SloppierKitty7/repos","events_url":"https://api.github.com/users/SloppierKitty7/events{/privacy}","received_events_url":"https://api.github.com/users/SloppierKitty7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-11T18:10:14Z","updated_at":"2016-08-11T18:20:00Z","closed_at":null,"body":"```\r\n$ node test.js\r\nReady to begin! Serving in 13 channels\r\nE:\\plasma!\\plasma-chan\\discord\\test.js:31\r\n                var role = msg.server.roles.get(\"name\", \"good people\");\r\n                                     ^\r\n\r\nTypeError: Cannot read property 'roles' of undefined\r\n    at Client.<anonymous> (E:\\plasma!\\plasma-chan\\discord\\test.js:31:24)\r\n    at emitOne (events.js:96:13)\r\n    at Client.emit (events.js:188:7)\r\n    at WebSocket.websocket.onmessage (E:\\plasma!\\plasma-chan\\discord\\node_modules\\discord.js\\lib\\Client\\InternalClient.js:90:15)\r\n    at WebSocket.onMessage (E:\\plasma!\\plasma-chan\\discord\\node_modules\\ws\\lib\\WebSocket.js:442:14)\r\n    at emitTwo (events.js:106:13)\r\n    at WebSocket.emit (events.js:191:7)\r\n    at Receiver.ontext (E:\\plasma!\\plasma-chan\\discord\\node_modules\\ws\\lib\\WebSocket.js:841:10)\r\n    at E:\\plasma!\\plasma-chan\\discord\\node_modules\\ws\\lib\\Receiver.js:536:18\r\n    at Receiver.applyExtensions (E:\\plasma!\\plasma-chan\\discord\\node_modules\\ws\\lib\\Receiver.js:371:5)\r\n```"},"comment":{"url":"https://api.github.com/repos/hydrabolt/discord.js/issues/comments/239246092","html_url":"https://github.com/hydrabolt/discord.js/issues/512#issuecomment-239246092","issue_url":"https://api.github.com/repos/hydrabolt/discord.js/issues/512","id":239246092,"user":{"login":"SloppierKitty7","id":6461147,"avatar_url":"https://avatars.githubusercontent.com/u/6461147?v=3","gravatar_id":"","url":"https://api.github.com/users/SloppierKitty7","html_url":"https://github.com/SloppierKitty7","followers_url":"https://api.github.com/users/SloppierKitty7/followers","following_url":"https://api.github.com/users/SloppierKitty7/following{/other_user}","gists_url":"https://api.github.com/users/SloppierKitty7/gists{/gist_id}","starred_url":"https://api.github.com/users/SloppierKitty7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SloppierKitty7/subscriptions","organizations_url":"https://api.github.com/users/SloppierKitty7/orgs","repos_url":"https://api.github.com/users/SloppierKitty7/repos","events_url":"https://api.github.com/users/SloppierKitty7/events{/privacy}","received_events_url":"https://api.github.com/users/SloppierKitty7/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T18:20:00Z","updated_at":"2016-08-11T18:20:00Z","body":"@GexoXYZ how do i fix it exactly? "}}
{"actor":{"display_login":"SloppierKitty7"}}