diff --git a/lib/SlackBot.js b/lib/SlackBot.js index 281c40835..c4657b61b 100755 --- a/lib/SlackBot.js +++ b/lib/SlackBot.js @@ -457,6 +457,7 @@ function Slackbot(configuration) { token: auth.bot.bot_access_token, user_id: auth.bot.bot_user_id, createdBy: identity.user_id, + app_token: auth.access_token, }; bot.configureRTM(team.bot); slack_botkit.trigger('create_bot', [bot, team.bot]);