Skip to content

slwen/robocoop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screenshot

Commands

Robocoop listens for these commands:

  • new challenge [amount] [exercise] by [day] in sets of [reps]
  • end the challenge
  • remind [daily/hourly/half-hourly/never]
  • I did [amount]
  • Undo [amount]
  • leaderboard
  • status
  • help

Requirements

  • node.js (v8.1.4)
  • redis & redis-cli

Running locally

Start redis

Run with no extra config. Use redis-cli to interact and monitor.

$ redis-server # start the redis server

Environment variables

You should have an API token from Slack. Set in your environment:

$ TOKEN=your-slack-api-token-here

Start the node app

The application uses nodemon and will auto-restart when you make changes.

$ npm install
$ npm run dev

About

A slackbot to keep us in line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published