Permalink
Browse files

readme.md

  • Loading branch information...
1 parent 4e74a8a commit 70c948a354a636f5eb4188ad612a19d7b164442e @primaryobjects committed Mar 16, 2016
Showing with 5 additions and 3 deletions.
  1. BIN images/chatskills-slack.png
  2. +5 −3 readme.md
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -109,11 +109,13 @@ while (text.length > 0 && text != 'quit') {
## Reading from Slack
-You don't have to use just the console! You can run your chatbot anywhere, like Slack.
+You don't have to use just the console! You can run your chatbot anywhere, like Slack. See [here](https://gist.github.com/primaryobjects/e1a182c7ef2f8d33731e) for full example.
+
+![Chatskills running on Slack](https://raw.githubusercontent.com/primaryobjects/chatskills/master/images/chatskills-slack.png)
```javascript
-var SlackBot = require('slackbots')
-var bot = new SlackBot({ token: token, name: 'MyAwesomeBot' });
+var SlackBot = require('slackbots');
+var bot = new SlackBot({ token: token, name: 'awesome' });
// Listen to slack messages.
bot.on('message', function(message) {

0 comments on commit 70c948a

Please sign in to comment.