Skip to content

calvinkarundu/reporterbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReporterBot

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.

Setup Configs

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"
    }
  }
}

Install Dependencies and Run

npm install && npm run dev