{"action":"created","issue":{"url":"https://api.github.com/repos/Dragory/modmailbot/issues/133","repository_url":"https://api.github.com/repos/Dragory/modmailbot","labels_url":"https://api.github.com/repos/Dragory/modmailbot/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/Dragory/modmailbot/issues/133/comments","events_url":"https://api.github.com/repos/Dragory/modmailbot/issues/133/events","html_url":"https://github.com/Dragory/modmailbot/issues/133","id":354282062,"node_id":"MDU6SXNzdWUzNTQyODIwNjI=","number":133,"title":"TypeError: Cannot read property 'bot' of undefined","user":{"login":"SamFeniks","id":15980500,"node_id":"MDQ6VXNlcjE1OTgwNTAw","avatar_url":"https://avatars0.githubusercontent.com/u/15980500?v=4","gravatar_id":"","url":"https://api.github.com/users/SamFeniks","html_url":"https://github.com/SamFeniks","followers_url":"https://api.github.com/users/SamFeniks/followers","following_url":"https://api.github.com/users/SamFeniks/following{/other_user}","gists_url":"https://api.github.com/users/SamFeniks/gists{/gist_id}","starred_url":"https://api.github.com/users/SamFeniks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamFeniks/subscriptions","organizations_url":"https://api.github.com/users/SamFeniks/orgs","repos_url":"https://api.github.com/users/SamFeniks/repos","events_url":"https://api.github.com/users/SamFeniks/events{/privacy}","received_events_url":"https://api.github.com/users/SamFeniks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-27T11:31:07Z","updated_at":"2018-08-29T21:45:48Z","closed_at":"2018-08-29T21:45:48Z","author_association":"NONE","body":"Hi!\r\n\r\nReinstalled the bot twice. redid the config twice. npm is uptodate. why am i getting this when a user dms the bot?\r\n\r\n```\r\nTypeError: Cannot read property 'bot' of undefined\r\n    at CommandClient.bot.on (/root/android/modmailbot/src/modules/typingProxy.js:20:94)\r\n    at CommandClient.emit (events.js:182:13)\r\n    at Shard.emit (/root/android/modmailbot/node_modules/eris/lib/gateway/Shard.js:1877:26)\r\n    at Shard.wsEvent (/root/android/modmailbot/node_modules/eris/lib/gateway/Shard.js:405:26)\r\n    at Shard.onWSMessage (/root/android/modmailbot/node_modules/eris/lib/gateway/Shard.js:1716:26)\r\n    at WebSocket.ws.onmessage (/root/android/modmailbot/node_modules/eris/lib/gateway/Shard.js:1593:33)\r\n    at WebSocket.onMessage (/root/android/modmailbot/node_modules/ws/lib/EventTarget.js:99:16)\r\n    at WebSocket.emit (events.js:182:13)\r\n    at Receiver._receiver.onmessage (/root/android/modmailbot/node_modules/ws/lib/WebSocket.js:141:47)\r\n    at Receiver.dataMessage (/root/android/modmailbot/node_modules/ws/lib/Receiver.js:389:14)\r\n    at Receiver.getData (/root/android/modmailbot/node_modules/ws/lib/Receiver.js:330:12)\r\n    at Receiver.startLoop (/root/android/modmailbot/node_modules/ws/lib/Receiver.js:165:16)\r\n    at Receiver.add (/root/android/modmailbot/node_modules/ws/lib/Receiver.js:139:10)\r\n    at TLSSocket._ultron.on (/root/android/modmailbot/node_modules/ws/lib/WebSocket.js:138:22)\r\n    at TLSSocket.emit (events.js:182:13)\r\n    at addChunk (_stream_readable.js:283:12)\r\n```"},"comment":{"url":"https://api.github.com/repos/Dragory/modmailbot/issues/comments/417116744","html_url":"https://github.com/Dragory/modmailbot/issues/133#issuecomment-417116744","issue_url":"https://api.github.com/repos/Dragory/modmailbot/issues/133","id":417116744,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzExNjc0NA==","user":{"login":"SamFeniks","id":15980500,"node_id":"MDQ6VXNlcjE1OTgwNTAw","avatar_url":"https://avatars0.githubusercontent.com/u/15980500?v=4","gravatar_id":"","url":"https://api.github.com/users/SamFeniks","html_url":"https://github.com/SamFeniks","followers_url":"https://api.github.com/users/SamFeniks/followers","following_url":"https://api.github.com/users/SamFeniks/following{/other_user}","gists_url":"https://api.github.com/users/SamFeniks/gists{/gist_id}","starred_url":"https://api.github.com/users/SamFeniks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamFeniks/subscriptions","organizations_url":"https://api.github.com/users/SamFeniks/orgs","repos_url":"https://api.github.com/users/SamFeniks/repos","events_url":"https://api.github.com/users/SamFeniks/events{/privacy}","received_events_url":"https://api.github.com/users/SamFeniks/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T21:45:48Z","updated_at":"2018-08-29T21:45:48Z","author_association":"NONE","body":"it seems to have stopped happening, or my pm2 is just killer fast at restarting. im going to leave it running like this for now"}}
{"actor":{"display_login":"SamFeniks"}}