Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -6,7 +6,7 @@ const url = 'mongodb://localhost:27017/'; | ... | @@ -6,7 +6,7 @@ const url = 'mongodb://localhost:27017/'; |
6 | var url2 = 'mongodb://localhost:27017/userjoke' | 6 | var url2 = 'mongodb://localhost:27017/userjoke' |
7 | const fs = require('fs'); | 7 | const fs = require('fs'); |
8 | //const userjoke = require('./joke_data/user.json'); | 8 | //const userjoke = require('./joke_data/user.json'); |
9 | - | 9 | +message_recieved = 0; |
10 | exports.startbot = ()=>{ | 10 | exports.startbot = ()=>{ |
11 | // Get authorization to use the slackbot | 11 | // Get authorization to use the slackbot |
12 | const bot = new SlackBot({ | 12 | const bot = new SlackBot({ | ... | ... |
-
Please register or login to post a comment