{"action":"created","issue":{"url":"https://api.github.com/repos/lins05/slackbot/issues/43","labels_url":"https://api.github.com/repos/lins05/slackbot/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/lins05/slackbot/issues/43/comments","events_url":"https://api.github.com/repos/lins05/slackbot/issues/43/events","html_url":"https://github.com/lins05/slackbot/issues/43","id":123973989,"number":43,"title":"get username from a `slackbot.dispatcher.Message` object.","user":{"login":"owocki","id":513929,"avatar_url":"https://avatars.githubusercontent.com/u/513929?v=3","gravatar_id":"","url":"https://api.github.com/users/owocki","html_url":"https://github.com/owocki","followers_url":"https://api.github.com/users/owocki/followers","following_url":"https://api.github.com/users/owocki/following{/other_user}","gists_url":"https://api.github.com/users/owocki/gists{/gist_id}","starred_url":"https://api.github.com/users/owocki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owocki/subscriptions","organizations_url":"https://api.github.com/users/owocki/orgs","repos_url":"https://api.github.com/users/owocki/repos","events_url":"https://api.github.com/users/owocki/events{/privacy}","received_events_url":"https://api.github.com/users/owocki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-27T11:46:49Z","updated_at":"2015-12-27T11:53:36Z","closed_at":null,"body":"It'd be great to be able to get the message sender from the `slackbot.dispatcher.Message` object:\r\n\r\n```\r\nipdb> message.\r\nmessage.body          message.reply         message.send\r\nmessage.channel       message.reply_webapi  message.send_webapi\r\n```\r\n\r\n`message.body['user']` is the closest thing I could find, but it's only a unicode ID:\r\n\r\n```\r\nipdb> message.body['user']\r\nu'U055J62L4'\r\n````"},"comment":{"url":"https://api.github.com/repos/lins05/slackbot/issues/comments/167403882","html_url":"https://github.com/lins05/slackbot/issues/43#issuecomment-167403882","issue_url":"https://api.github.com/repos/lins05/slackbot/issues/43","id":167403882,"user":{"login":"owocki","id":513929,"avatar_url":"https://avatars.githubusercontent.com/u/513929?v=3","gravatar_id":"","url":"https://api.github.com/users/owocki","html_url":"https://github.com/owocki","followers_url":"https://api.github.com/users/owocki/followers","following_url":"https://api.github.com/users/owocki/following{/other_user}","gists_url":"https://api.github.com/users/owocki/gists{/gist_id}","starred_url":"https://api.github.com/users/owocki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owocki/subscriptions","organizations_url":"https://api.github.com/users/owocki/orgs","repos_url":"https://api.github.com/users/owocki/repos","events_url":"https://api.github.com/users/owocki/events{/privacy}","received_events_url":"https://api.github.com/users/owocki/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T11:53:36Z","updated_at":"2015-12-27T11:53:36Z","body":"Nevermind, it seems `message.channel._client.users[message.body['user']][u'name']` will get me this data."}}