{"action":"closed","issue":{"url":"https://api.github.com/repos/copygirl/cord/issues/11","repository_url":"https://api.github.com/repos/copygirl/cord","labels_url":"https://api.github.com/repos/copygirl/cord/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/copygirl/cord/issues/11/comments","events_url":"https://api.github.com/repos/copygirl/cord/issues/11/events","html_url":"https://github.com/copygirl/cord/issues/11","id":193435188,"number":11,"title":"Crash when creating a channel","user":{"login":"deathspawn","id":1644408,"avatar_url":"https://avatars.githubusercontent.com/u/1644408?v=3","gravatar_id":"","url":"https://api.github.com/users/deathspawn","html_url":"https://github.com/deathspawn","followers_url":"https://api.github.com/users/deathspawn/followers","following_url":"https://api.github.com/users/deathspawn/following{/other_user}","gists_url":"https://api.github.com/users/deathspawn/gists{/gist_id}","starred_url":"https://api.github.com/users/deathspawn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathspawn/subscriptions","organizations_url":"https://api.github.com/users/deathspawn/orgs","repos_url":"https://api.github.com/users/deathspawn/repos","events_url":"https://api.github.com/users/deathspawn/events{/privacy}","received_events_url":"https://api.github.com/users/deathspawn/received_events","type":"User","site_admin":false},"labels":[{"id":299154476,"url":"https://api.github.com/repos/copygirl/cord/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-05T08:14:55Z","updated_at":"2016-12-05T15:50:47Z","closed_at":"2016-12-05T15:50:47Z","body":"Made a channel on Discord and didn't include the bot's role or @everyone and it crashed.\r\n\r\n```\r\n/home/deathspawn/git/relays/cord/sockets/Discord.js:237`\r\n    this._name = this._discordChannel.name;\r\n                                     ^\r\n\r\nTypeError: Cannot read property 'name' of null\r\n    at new DiscordChannel (/home/deathspawn/git/relays/cord/sockets/Discord.js:237:38)\r\n    at DiscordSocket._getChannel (/home/deathspawn/git/relays/cord/sockets/Discord.js:114:17)\r\n    at Client.DiscordSocket._discord.on (/home/deathspawn/git/relays/cord/sockets/Discord.js:64:12)\r\n    at emitOne (events.js:96:13)\r\n    at Client.emit (events.js:188:7)\r\n    at ClientDataManager.newChannel (/home/deathspawn/git/relays/cord/node_modules/discord.js/src/client/ClientDataManager.js:68:51)\r\n    at ChannelCreateAction.handle (/home/deathspawn/git/relays/cord/node_modules/discord.js/src/client/actions/ChannelCreate.js:6:40)\r\n    at ChannelCreateHandler.handle (/home/deathspawn/git/relays/cord/node_modules/discord.js/src/client/websocket/packets/handlers/ChannelCreate.js:7:34)\r\n    at WebSocketPacketManager.handle (/home/deathspawn/git/relays/cord/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:93:65)\r\n    at WebSocketManager.eventMessage (/home/deathspawn/git/relays/cord/node_modules/discord.js/src/client/websocket/WebSocketManager.js:198:31)\r\n\r\nnpm ERR! Linux 4.5.5-x86_64-linode69\r\nnpm ERR! argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"start\"\r\nnpm ERR! node v6.9.1\r\nnpm ERR! npm  v3.10.8\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! cord@2.2.0 start: `node cord.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the cord@2.2.0 start script 'node cord.js'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the cord package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node cord.js\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs cord\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls cord\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/deathspawn/git/relays/cord/npm-debug.log\r\n```"}}
{"actor":{"display_login":"copygirl"}}