{"action":"created","issue":{"url":"https://api.github.com/repos/ArrowsX/musicbot/issues/3","repository_url":"https://api.github.com/repos/ArrowsX/musicbot","labels_url":"https://api.github.com/repos/ArrowsX/musicbot/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ArrowsX/musicbot/issues/3/comments","events_url":"https://api.github.com/repos/ArrowsX/musicbot/issues/3/events","html_url":"https://github.com/ArrowsX/musicbot/issues/3","id":173456996,"number":3,"title":"Error when start bot","user":{"login":"zoiobnu","id":4562546,"avatar_url":"https://avatars.githubusercontent.com/u/4562546?v=3","gravatar_id":"","url":"https://api.github.com/users/zoiobnu","html_url":"https://github.com/zoiobnu","followers_url":"https://api.github.com/users/zoiobnu/followers","following_url":"https://api.github.com/users/zoiobnu/following{/other_user}","gists_url":"https://api.github.com/users/zoiobnu/gists{/gist_id}","starred_url":"https://api.github.com/users/zoiobnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoiobnu/subscriptions","organizations_url":"https://api.github.com/users/zoiobnu/orgs","repos_url":"https://api.github.com/users/zoiobnu/repos","events_url":"https://api.github.com/users/zoiobnu/events{/privacy}","received_events_url":"https://api.github.com/users/zoiobnu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-26T13:47:20Z","updated_at":"2016-08-28T06:57:00Z","closed_at":null,"body":"root@root:~/musicbot# python3 bot.py\r\n2016-08-26 06:43:52,045 - telegram.ext.updater - ERROR - unhandled exception\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/ext/updater.py\", line 104, in _thread_wrapper\r\n    target(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/ext/updater.py\", line 215, in _start_polling\r\n    self._bootstrap(bootstrap_retries, clean=clean, webhook_url='')\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/ext/updater.py\", line 319, in _bootstrap\r\n    self.bot.setWebhook(webhook_url=webhook_url, certificate=cert)\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/bot.py\", line 121, in decorator\r\n    result = func(self, *args, **kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/bot.py\", line 1263, in setWebhook\r\n    result = request.post(url, data, timeout=kwargs.get('timeout'))\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/utils/request.py\", line 235, in post\r\n    **urlopen_kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/utils/request.py\", line 178, in _request_wrapper\r\n    raise Unauthorized()\r\ntelegram.error.Unauthorized: Unauthorized\r\nException in thread updater:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.4/threading.py\", line 920, in _bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python3.4/threading.py\", line 868, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/ext/updater.py\", line 104, in _thread_wrapper\r\n    target(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/ext/updater.py\", line 215, in _start_polling\r\n    self._bootstrap(bootstrap_retries, clean=clean, webhook_url='')\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/ext/updater.py\", line 319, in _bootstrap\r\n    self.bot.setWebhook(webhook_url=webhook_url, certificate=cert)\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/bot.py\", line 121, in decorator\r\n    result = func(self, *args, **kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/bot.py\", line 1263, in setWebhook\r\n    result = request.post(url, data, timeout=kwargs.get('timeout'))\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/utils/request.py\", line 235, in post\r\n    **urlopen_kwargs)\r\n  File \"/usr/local/lib/python3.4/dist-packages/telegram/utils/request.py\", line 178, in _request_wrapper\r\n    raise Unauthorized()\r\ntelegram.error.Unauthorized: Unauthorized\r\n\r\n2016-08-26 06:43:52,843 - telegram.ext.dispatcher - CRITICAL - stopping due to exception in another thread"},"comment":{"url":"https://api.github.com/repos/ArrowsX/musicbot/issues/comments/242959783","html_url":"https://github.com/ArrowsX/musicbot/issues/3#issuecomment-242959783","issue_url":"https://api.github.com/repos/ArrowsX/musicbot/issues/3","id":242959783,"user":{"login":"gius-italy","id":20153481,"avatar_url":"https://avatars.githubusercontent.com/u/20153481?v=3","gravatar_id":"","url":"https://api.github.com/users/gius-italy","html_url":"https://github.com/gius-italy","followers_url":"https://api.github.com/users/gius-italy/followers","following_url":"https://api.github.com/users/gius-italy/following{/other_user}","gists_url":"https://api.github.com/users/gius-italy/gists{/gist_id}","starred_url":"https://api.github.com/users/gius-italy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gius-italy/subscriptions","organizations_url":"https://api.github.com/users/gius-italy/orgs","repos_url":"https://api.github.com/users/gius-italy/repos","events_url":"https://api.github.com/users/gius-italy/events{/privacy}","received_events_url":"https://api.github.com/users/gius-italy/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T06:57:00Z","updated_at":"2016-08-28T06:57:00Z","body":"It's a problem with the bot token, try get one for yourself talking with the bothfather (https://core.telegram.org/bots#6-botfather) and edit the credentials.py file. "}}
{"actor":{"display_login":"gius-italy"}}