{"action":"created","issue":{"url":"https://api.github.com/repos/chalda/DiscordBot/issues/77","repository_url":"https://api.github.com/repos/chalda/DiscordBot","labels_url":"https://api.github.com/repos/chalda/DiscordBot/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/chalda/DiscordBot/issues/77/comments","events_url":"https://api.github.com/repos/chalda/DiscordBot/issues/77/events","html_url":"https://github.com/chalda/DiscordBot/issues/77","id":169768327,"number":77,"title":"Using a token in auth.json?","user":{"login":"Canaduhh","id":20879990,"avatar_url":"https://avatars.githubusercontent.com/u/20879990?v=3","gravatar_id":"","url":"https://api.github.com/users/Canaduhh","html_url":"https://github.com/Canaduhh","followers_url":"https://api.github.com/users/Canaduhh/followers","following_url":"https://api.github.com/users/Canaduhh/following{/other_user}","gists_url":"https://api.github.com/users/Canaduhh/gists{/gist_id}","starred_url":"https://api.github.com/users/Canaduhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Canaduhh/subscriptions","organizations_url":"https://api.github.com/users/Canaduhh/orgs","repos_url":"https://api.github.com/users/Canaduhh/repos","events_url":"https://api.github.com/users/Canaduhh/events{/privacy}","received_events_url":"https://api.github.com/users/Canaduhh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-06T21:52:33Z","updated_at":"2016-09-20T00:36:31Z","closed_at":"2016-09-20T00:36:31Z","body":"For my bot, I have an application with a token instead of a bot user account. However, I cannot figure out how to get the auth.json to use a token instead of a username/password. Every way I've tried has resulted in the console saying\r\n\r\n`bot.loginWithToken is not a function.`\r\n\r\nAny help on this would be appreciated. "},"comment":{"url":"https://api.github.com/repos/chalda/DiscordBot/issues/comments/248169201","html_url":"https://github.com/chalda/DiscordBot/issues/77#issuecomment-248169201","issue_url":"https://api.github.com/repos/chalda/DiscordBot/issues/77","id":248169201,"user":{"login":"Einarin","id":641166,"avatar_url":"https://avatars.githubusercontent.com/u/641166?v=3","gravatar_id":"","url":"https://api.github.com/users/Einarin","html_url":"https://github.com/Einarin","followers_url":"https://api.github.com/users/Einarin/followers","following_url":"https://api.github.com/users/Einarin/following{/other_user}","gists_url":"https://api.github.com/users/Einarin/gists{/gist_id}","starred_url":"https://api.github.com/users/Einarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Einarin/subscriptions","organizations_url":"https://api.github.com/users/Einarin/orgs","repos_url":"https://api.github.com/users/Einarin/repos","events_url":"https://api.github.com/users/Einarin/events{/privacy}","received_events_url":"https://api.github.com/users/Einarin/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T00:36:31Z","updated_at":"2016-09-20T00:36:31Z","body":"Discord.js unified the login function. We were using an old version of the API, and everything was broken. Should all be good now. You may need #82 "}}
{"actor":{"display_login":"Einarin"}}