diff --git a/lib/SlackBot.js b/lib/SlackBot.js index 592563cee..787c2299f 100755 --- a/lib/SlackBot.js +++ b/lib/SlackBot.js @@ -226,13 +226,12 @@ function Slackbot(configuration) { return; } - } - - bot.identity = { - id: team.bot.user_id, - name: team.bot.name - }; + bot.identity = { + id: team.bot.user_id, + name: team.bot.name + }; + } }