crownheightsaid / mutual-aid-app

Hey we're a mutual aid group in Crown Heights trying to help around town. Please reach out if you want to setup your own slack app and need a hand!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update the slack user dump on the last day of the cycle.

mjmaurer opened this issue · comments

I think the last day of the cycle might actually be "1".

So in passTheHat.js if dayInCycle === 1, then run passTheHatDump.js

commented

Hi @mjmaurer! I tried working on this one and wasn't sure how to tell whether that I didn't break anything. When I run npm run local:script ./scripts/passTheHat.js I get an error. It is looking for HAT_HOLDERS in .env. Is there a "hat holder" that I can put in the .env that would allow the script to run without causing havoc?

Any other tips on this one would be most appreciated. Thanks!