Showing
3 changed files
with
5 additions
and
3 deletions
1 | <h1>Building a Slackbot</h1><br> | 1 | <h1>Building a Slackbot</h1><br> |
2 | -<h2>A slackbot that reacts to user's chat and sends jokes </h2><br> | 2 | +<h2>A slackbot that reacts to user's chat and sends jokes </h2><br><br> |
3 | + | ||
4 | +<h3>Currently operating on aws EC2 / managing it to run on docker container combining mongodb and the code to interact on 'aws docker version' branch | ||
3 | 5 | ||
4 |  | 6 |  |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -8,7 +8,8 @@ const url = 'mongodb://localhost:27017/'; | ... | @@ -8,7 +8,8 @@ const url = 'mongodb://localhost:27017/'; |
8 | exports.startbot = ()=>{ | 8 | exports.startbot = ()=>{ |
9 | // Get authorization to use the slackbot | 9 | // Get authorization to use the slackbot |
10 | const bot = new SlackBot({ | 10 | const bot = new SlackBot({ |
11 | - token : "xoxb-582582124755-587875604934-gdWsVhzGXCze3mECWXpTsAP6", | 11 | + //xoxb-582582124755-587875604934-gdWsVhzGXCze3mECWXpTsAP6 |
12 | + token : "", | ||
12 | name : "Joker" | 13 | name : "Joker" |
13 | }); | 14 | }); |
14 | 15 | ... | ... |
-
Please register or login to post a comment