https://github.com/valandro/node-scrum-slack-bot
A Slack bot using NodeJS that remind your team that daily's time is coming.
https://github.com/valandro/node-scrum-slack-bot
Last synced: about 1 year ago
JSON representation
A Slack bot using NodeJS that remind your team that daily's time is coming.
- Host: GitHub
- URL: https://github.com/valandro/node-scrum-slack-bot
- Owner: valandro
- License: apache-2.0
- Created: 2019-02-13T14:40:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T17:35:21.000Z (over 7 years ago)
- Last Synced: 2025-02-04T00:41:14.595Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 69.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/Apache-2.0)
# Slack Scrum Bot

A Slack bot built using `NodeJS` that alarms your team when the Daily's time is coming.
## Usage
### Environment
You will need to set a `.env` file **only** on the host that will run the app.
.env file
```
SLACK_TOKEN=xoxb-3233057...
```
#### Note
> **Also you could change the channels that will be receive the messages from the bot.**
### Change daily's time
Just change the cron jobs that are defined in `index.js`.
```javascript
new CronJob('00 25 9 * * 1-5', () => {
bot.postMessageToChannel('omni_pdv_time_a',
'Está quase na hora da daily, faltam apenas *5 minutos!* :eyes:');
},null,true,'America/Sao_Paulo');
```
### License
Apache License. [Click here for more information.](LICENSE)