{"action":"created","issue":{"url":"https://api.github.com/repos/RMHSProgrammingClub/Bot-Client/issues/3","repository_url":"https://api.github.com/repos/RMHSProgrammingClub/Bot-Client","labels_url":"https://api.github.com/repos/RMHSProgrammingClub/Bot-Client/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/RMHSProgrammingClub/Bot-Client/issues/3/comments","events_url":"https://api.github.com/repos/RMHSProgrammingClub/Bot-Client/issues/3/events","html_url":"https://github.com/RMHSProgrammingClub/Bot-Client/issues/3","id":131168574,"number":3,"title":"Bot Uids","user":{"login":"jakebacker","id":14339279,"avatar_url":"https://avatars.githubusercontent.com/u/14339279?v=3","gravatar_id":"","url":"https://api.github.com/users/jakebacker","html_url":"https://github.com/jakebacker","followers_url":"https://api.github.com/users/jakebacker/followers","following_url":"https://api.github.com/users/jakebacker/following{/other_user}","gists_url":"https://api.github.com/users/jakebacker/gists{/gist_id}","starred_url":"https://api.github.com/users/jakebacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakebacker/subscriptions","organizations_url":"https://api.github.com/users/jakebacker/orgs","repos_url":"https://api.github.com/users/jakebacker/repos","events_url":"https://api.github.com/users/jakebacker/events{/privacy}","received_events_url":"https://api.github.com/users/jakebacker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-03T22:03:31Z","updated_at":"2016-02-04T20:23:36Z","closed_at":null,"body":"The `bot.getUid()` method does not work. It always returns -1"},"comment":{"url":"https://api.github.com/repos/RMHSProgrammingClub/Bot-Client/issues/comments/180032992","html_url":"https://github.com/RMHSProgrammingClub/Bot-Client/issues/3#issuecomment-180032992","issue_url":"https://api.github.com/repos/RMHSProgrammingClub/Bot-Client/issues/3","id":180032992,"user":{"login":"n9Mtq4","id":5840141,"avatar_url":"https://avatars.githubusercontent.com/u/5840141?v=3","gravatar_id":"","url":"https://api.github.com/users/n9Mtq4","html_url":"https://github.com/n9Mtq4","followers_url":"https://api.github.com/users/n9Mtq4/followers","following_url":"https://api.github.com/users/n9Mtq4/following{/other_user}","gists_url":"https://api.github.com/users/n9Mtq4/gists{/gist_id}","starred_url":"https://api.github.com/users/n9Mtq4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n9Mtq4/subscriptions","organizations_url":"https://api.github.com/users/n9Mtq4/orgs","repos_url":"https://api.github.com/users/n9Mtq4/repos","events_url":"https://api.github.com/users/n9Mtq4/events{/privacy}","received_events_url":"https://api.github.com/users/n9Mtq4/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T20:23:36Z","updated_at":"2016-02-04T20:23:36Z","body":"```val uid = ((json[\"uid\"] ?: -1L) as Long).toInt() // bot id is -1 if server doesn't have support```\r\nhttps://github.com/RMHSProgrammingClub/Bot-Client/blob/master/kotlin/src/main/kotlin/com/n9mtq4/botclient/ControllableBot.kt#L226"}}