- Download
credentials.jsonfrom https://developers.google.com/sheets/api/quickstart/nodejs - Place it in the root of the project directory
- Grab it from the api.slack.com
- Under 'Your Apps' > lunch-match > OAuth & Permissions
- place in .env as
slackToken=[token]
npm run buildnpm run generate-token- Follow the steps in the console by visiting the link and pasting the code
- It's the end of the URL on a google sheet like https://docs.google.com/spreadsheets/d/[this code]
- Place in .env as
sheetID=[sheetID]
npm run buildto build the codenpm run dryrunto retrieve from sheets, butconsole.log()instead of posting to slacknpm run hangsto actually run and create Slack DM's!