Skip to content

Commit

Permalink
Added links to documentation of Resource message payloads.
Browse files Browse the repository at this point in the history
  • Loading branch information
randompi committed Apr 6, 2016
1 parent 12bd3b3 commit 4689b27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/slack_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def start(self, resource):
and listens for RTM events.
Args:
resource (dict of Resource JSON): See payload here - http://linktoresourcejson
resource (dict of Resource JSON): See message payloads - https://beepboophq.com/docs/article/resourcer-api
"""
logger.debug('Starting bot for resource: {}'.format(resource))
if 'resource' in resource and 'SlackBotAccessToken' in resource['resource']:
Expand Down Expand Up @@ -75,6 +75,6 @@ def stop(self, resource):
close connections if possible.
Args:
resource (dict of Resource JSON): See payload here - http://linktoresourcejson
resource (dict of Resource JSON): See message payloads - https://beepboophq.com/docs/article/resourcer-api
"""
self.keep_running = False

0 comments on commit 4689b27

Please sign in to comment.