Now implements links recover talking to the bot. You only have to tell 'recover' mentioning the bot, he asks for a tag and recover all the links with that tag.
- Can use one or more tags for recovery
- Connect to wit.ai for some natural languaje.
Prevailme stores the links(with tags) you want into Firebase using BotKit BotKit.js
Because you and your team put a lot of interesting links in your Slack to share it with your mates, and that links get lost in the amount of text. So why not store the interesting ones?
When you have the bot in the room, he it's going to listen when you paste a link, and ask you if you want to store the data, here is a simple conversation:
In my case I gave the personality and photography of Eugenio, a spanish comedian.
- Get the tokens:
-
Go to Slack integration page: here and create a new bot to get the token.
-
In Firebase you have create an application and get the url of your app here
- When you have all the info and the repositoy clonned, create a file called config.js with this content:
var config = {};
config.slack_token = YOUR_SLACK_TOKEN;
config.slack_bot_name = BOT_NAME;
config.firebase_url = FIRE_BASE_URL;
config.lan = LANGUAGE(es|en);
module.exports = config;
-
Execute
npm update
to update and install all dependencies -
Init the bot with
node bot.js
The next step is develop a page with tag filters and users.
There is a lot of improvements, if you want to collaborate or fork the repo, go on!