A Slack bot for getting reports on demand
This repo was made for a Scotch.io article on Building a Slack Bot with Modern Node.js Workflows. Check out the article for a breakdown of what's going on and the needed prerequisites.
Create a development.json
file in the config
folder with the following content:
{
"slack": {
"fileUploadUrl": "https://slack.com/api/files.upload",
"reporterBot": {
"fileUploadChannel": "#reporterbot_files",
"botToken": "YOUR-BOT-TOKEN-HERE"
}
}
}
npm install && npm run dev