Simple slack bot that can save all of your team messages on your server so that you can still read them even if you exceeds the 10,000 messages in the archive.
The application is built with Express 4
on Node.js
1.0.0
- Install
Node.js
. Check this link - clone the repo:
git@github.com:mlegy/slack-logger-bot.git
- install the application
npm install & mkdir logs
- Install
forever
to make the application run permanently.
sudo npm install -g forever
- Run the application as a service with
forever
forever start app.js
- Add an
Outgoing WebHooks Integration
in your Slack one for each channel form here - In the
URL
filed of every Outgoing WebHooks write your server IP or your domain name followed by port number3000
andlogbot
route. for example:http://myteam.com:3000/logbot
- The logs will be saved at eg
http://myteam.com/slackbot/logs/channel_name.html