{"action":"opened","issue":{"url":"https://api.github.com/repos/austinv11/Discord4J/issues/315","repository_url":"https://api.github.com/repos/austinv11/Discord4J","labels_url":"https://api.github.com/repos/austinv11/Discord4J/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/austinv11/Discord4J/issues/315/comments","events_url":"https://api.github.com/repos/austinv11/Discord4J/issues/315/events","html_url":"https://github.com/austinv11/Discord4J/issues/315","id":238324071,"number":315,"title":"always get \"unauthorized\"","user":{"login":"alexpmorris","id":5326789,"avatar_url":"https://avatars2.githubusercontent.com/u/5326789?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpmorris","html_url":"https://github.com/alexpmorris","followers_url":"https://api.github.com/users/alexpmorris/followers","following_url":"https://api.github.com/users/alexpmorris/following{/other_user}","gists_url":"https://api.github.com/users/alexpmorris/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpmorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpmorris/subscriptions","organizations_url":"https://api.github.com/users/alexpmorris/orgs","repos_url":"https://api.github.com/users/alexpmorris/repos","events_url":"https://api.github.com/users/alexpmorris/events{/privacy}","received_events_url":"https://api.github.com/users/alexpmorris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-24T15:34:31Z","updated_at":"2017-06-24T15:34:31Z","closed_at":null,"body":"### Prerequisites\r\n* [x] If this is a question/suggestion, I have already considered talking about it on the [Discord4J server](https://discord.gg/NxGAeCY)\r\n* [x] This issue specifically has something to do with Discord4J (**maybe**)\r\n* [x] I have attempted to [look for similar issues](https://github.com/austinv11/Discord4J/issues?utf8=%E2%9C%93&q=is%3Aissue) already\r\n\r\n### Description\r\ncan't seem to login, even with token.  maybe I am missing the place where I should also put my \"clientid\"?\r\n\r\n### Steps to Reproduce\r\n1. login with token\r\n2. exception error\r\n\r\n**Expected behavior:** it should login\r\n\r\n**Actual behavior:** login failed\r\n\r\n**Stacktrace (if applicable):** \r\n```\r\nException in thread \"main\" sx.blah.discord.util.DiscordException: \r\nException (DiscordException) occurred while logging in: \r\nError on request to https://discordapp.com/api/users/@me. Received response code 401. \r\nWith response text: {\"code\": 0, \"message\": \"401: Unauthorized\"}\r\n\tat sx.blah.discord.api.ClientBuilder.login(ClientBuilder.java:304)\r\n\tat EmptyBot.main(EmptyBot.java:112)\r\n\tat whalebot.main(whalebot.java:29)\r\n```\r\n\r\n**Version affected:** 2.8.3\r\n\r\n### Additional Information\r\nI have a token, but no matter what I try, still keep getting an error on request to \"https://discordapp.com/api/users/@me\" {\"code\": 0, \"message\": \"401: Unauthorized\"} - even tried stepping in the code and replacing @me with my userid, it calls me a snowflake instead but still stops.  I figure I'm probably just missing something simple, but it's just not coming to me.  Not sure if it's related, but I didn't \"Create a Bot User\" to the app.  Couldn't find enough info on it to perform that \"irreversible action\".\r\n\r\nI also tried with the EmptyBot project as well, but basically all I'm doing is:\r\n\r\n``IDiscordClient client = createClient(token, true); // Gets the client object (from the first example)``\r\n\r\ntried it with true and false.  build() works just fine, but it always dies at login().\r\n\r\nApologize if I'm just missing something simple here, but I figure I can't be the only making this \"mistake\" either.  Thanks!\r\n\r\nFor the record, I had no problem interfacing to discord via their webhooks (though, of course, that's not *interactive*)."}}
{"actor":{"display_login":"alexpmorris"}}