message: fix some syntax for slack
diff: @@ -901,8 +901,13 @@ module.exports = function(botkit, config) {
  bot.getUser = function(user, cb) {
  return new Promise(function(resolve, reject) {
  - bot.api.user.info(user).then(function(identity) {
  -
  + bot.api.users.info({user: user}, function(err, identity) {
  + if (err) {
  + if (cb) {
  + cb(err);
  + }
  + return reject(err);
  + }
  // normalize this into what botkit wants to see
  var profile = {
  id: user,
  @@ -914,17 +919,10 @@ module.exports = function(botkit, config) {
  gender: null, // no source for this info
  timezone: (identity.user.tz_offset / (60 * 60)) // convert from seconds to hours
  };
  -
  if (cb) {
  cb(null, profile);
  }
  resolve(profile);
  -
  - }).catch(function(err) {
  - if (cb) {
  - cb(err);
  - }
  - reject(err);
  });
  });
  