Dale Slack Bot
npm install
- add the
SLACKBOT_TOKEN
environment variable on your system (log into Heroku, access nameless-mountain-4460, access settings, and view Config Variables)
heroku login
user: chicago.prestige.world.wide@gmail.com password: askheroku git:clone -a nameless-mountain-4460
- Set up git remote to PWW github dale repo
- Make modifications
- Create a PR to PWW github dale repo
- Merge PR
git checkout master
git pull <pww-github-dale-repo> master
git push heroku master
- Create new
.js
script underdale/
- Pass your
.js
script into a local variable indale/main.js
usingrequire('./<your-script>.js')
- If your script requires access to the SlackBot instance, pass the
slack
instance into your script's local variable indale/main.js