{"action":"created","issue":{"url":"https://api.github.com/repos/Galarzaa90/NabBot/issues/87","repository_url":"https://api.github.com/repos/Galarzaa90/NabBot","labels_url":"https://api.github.com/repos/Galarzaa90/NabBot/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/Galarzaa90/NabBot/issues/87/comments","events_url":"https://api.github.com/repos/Galarzaa90/NabBot/issues/87/events","html_url":"https://github.com/Galarzaa90/NabBot/issues/87","id":312726568,"number":87,"title":"TypeError: '<=' not supported between instances of 'int' and 'NoneType'","user":{"login":"drptbl","id":8177587,"avatar_url":"https://avatars2.githubusercontent.com/u/8177587?v=4","gravatar_id":"","url":"https://api.github.com/users/drptbl","html_url":"https://github.com/drptbl","followers_url":"https://api.github.com/users/drptbl/followers","following_url":"https://api.github.com/users/drptbl/following{/other_user}","gists_url":"https://api.github.com/users/drptbl/gists{/gist_id}","starred_url":"https://api.github.com/users/drptbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drptbl/subscriptions","organizations_url":"https://api.github.com/users/drptbl/orgs","repos_url":"https://api.github.com/users/drptbl/repos","events_url":"https://api.github.com/users/drptbl/events{/privacy}","received_events_url":"https://api.github.com/users/drptbl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-09T23:51:08Z","updated_at":"2018-04-25T19:28:00Z","closed_at":null,"author_association":"NONE","body":"```\r\nTraceback (most recent call last):\r\n  File \"nabbot.py\", line 440, in <module>\r\n    nabbot.run(token)\r\n  File \"/usr/local/lib/python3.6/dist-packages/discord/client.py\", line 580, in run\r\n    return task.result()\r\n  File \"/usr/local/lib/python3.6/dist-packages/discord/client.py\", line 488, in start\r\n    yield from self.connect(reconnect=reconnect)\r\n  File \"/usr/local/lib/python3.6/dist-packages/discord/client.py\", line 408, in connect\r\n    yield from self._connect()\r\n  File \"/usr/local/lib/python3.6/dist-packages/discord/client.py\", line 370, in _connect\r\n    yield from self.ws.poll_event()\r\n  File \"/usr/local/lib/python3.6/dist-packages/discord/gateway.py\", line 448, in poll_event\r\n    msg = yield from self.recv()\r\n  File \"/usr/local/lib/python3.6/dist-packages/websockets/protocol.py\", line 323, in recv\r\n    raise ConnectionClosed(self.close_code, self.close_reason)\r\n  File \"/usr/local/lib/python3.6/dist-packages/websockets/exceptions.py\", line 147, in __init__\r\n    if 3000 <= code < 4000:\r\nTypeError: '<=' not supported between instances of 'int' and 'NoneType'\r\n```\r\n\r\nI'm not sure why and when it happened (NabBot is running on VPS), but I'm guessing that it lost connection with Discord and tried to reconnect - then it crashed."},"comment":{"url":"https://api.github.com/repos/Galarzaa90/NabBot/issues/comments/384406046","html_url":"https://github.com/Galarzaa90/NabBot/issues/87#issuecomment-384406046","issue_url":"https://api.github.com/repos/Galarzaa90/NabBot/issues/87","id":384406046,"user":{"login":"Galarzaa90","id":12865379,"avatar_url":"https://avatars0.githubusercontent.com/u/12865379?v=4","gravatar_id":"","url":"https://api.github.com/users/Galarzaa90","html_url":"https://github.com/Galarzaa90","followers_url":"https://api.github.com/users/Galarzaa90/followers","following_url":"https://api.github.com/users/Galarzaa90/following{/other_user}","gists_url":"https://api.github.com/users/Galarzaa90/gists{/gist_id}","starred_url":"https://api.github.com/users/Galarzaa90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galarzaa90/subscriptions","organizations_url":"https://api.github.com/users/Galarzaa90/orgs","repos_url":"https://api.github.com/users/Galarzaa90/repos","events_url":"https://api.github.com/users/Galarzaa90/events{/privacy}","received_events_url":"https://api.github.com/users/Galarzaa90/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T19:28:00Z","updated_at":"2018-04-25T19:28:00Z","author_association":"OWNER","body":"I wasn't able to reproduce this, exactly how are you running NabBot?"}}
{"actor":{"display_login":"Galarzaa90"}}