{"action":"closed","issue":{"url":"https://api.github.com/repos/bwmarrin/discordgo/issues/66","labels_url":"https://api.github.com/repos/bwmarrin/discordgo/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/bwmarrin/discordgo/issues/66/comments","events_url":"https://api.github.com/repos/bwmarrin/discordgo/issues/66/events","html_url":"https://github.com/bwmarrin/discordgo/issues/66","id":125683414,"number":66,"title":"Handle invalid credentials","user":{"login":"nstafie","id":10801854,"avatar_url":"https://avatars.githubusercontent.com/u/10801854?v=3","gravatar_id":"","url":"https://api.github.com/users/nstafie","html_url":"https://github.com/nstafie","followers_url":"https://api.github.com/users/nstafie/followers","following_url":"https://api.github.com/users/nstafie/following{/other_user}","gists_url":"https://api.github.com/users/nstafie/gists{/gist_id}","starred_url":"https://api.github.com/users/nstafie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstafie/subscriptions","organizations_url":"https://api.github.com/users/nstafie/orgs","repos_url":"https://api.github.com/users/nstafie/repos","events_url":"https://api.github.com/users/nstafie/events{/privacy}","received_events_url":"https://api.github.com/users/nstafie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bwmarrin/discordgo/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-08T20:06:30Z","updated_at":"2016-01-09T16:30:31Z","closed_at":"2016-01-09T16:30:31Z","body":"If the credentials passed are invalid and the API response does not include a token field, it fails to cast a nil interface to string and a panic occurs."}}