Skip to content

Commit

Permalink
Fix Procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Jan 2, 2020
1 parent c5f99ac commit 8023ba7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
worker: node ./src/index.js
worker: node ./src/worker.js
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@ npm install

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Narno/leo-bot)

## Configuration
> Note: redis is required.
You need to set environment variables. See `.env.dist`.
## Configuration

```bash
export CHANNEL='#leo'
export SCHEDULE='0 45 17 * * 1-5'
export SLACK_BOT_TOKEN=xoxb-XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXX
```
You need to set environment variables. See [`.env.dist`](.env.dist).

The cron-style scheduling format consists of:
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leo-bot",
"version": "1.3.0",
"version": "1.3.1",
"description": "A simple reminder Slack bot.",
"keywords": [
"bot",
Expand Down

0 comments on commit 8023ba7

Please sign in to comment.