Skip to content

Commit

Permalink
fix/add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aoberoi committed Aug 21, 2017
1 parent bde420a commit 5a1753a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bot.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ class SlackBot extends Adapter
@client = new SlackClient(@options, @robot)

###
Slackbot reload users timeout (reloads every 1 hour)
Slackbot loads full user list on the first brain load
QUESTION: why do brain adapters trigger a brain 'loaded' event each time a key
is set?
###
setIsLoaded: (@isLoaded) ->

Expand Down
1 change: 1 addition & 0 deletions src/client.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class SlackClient
Open connection to the Slack RTM API
###
connect: ->
# QUESTION: why do we throw away the login data?
@rtm.login()


Expand Down

0 comments on commit 5a1753a

Please sign in to comment.