diff --git a/lib/SlackBot.js b/lib/SlackBot.js index a2c8593eb..d9f4d88fd 100755 --- a/lib/SlackBot.js +++ b/lib/SlackBot.js @@ -526,6 +526,8 @@ function Slackbot(configuration) { name: identity.team, }; } + + team.state = state; var bot = slack_botkit.spawn(team);