Refactoring with promises SlackClient