Skip to content

Commit

Permalink
fix: update default active hours to be a little more intuitive
Browse files Browse the repository at this point in the history
  • Loading branch information
JackCuthbert committed Dec 2, 2019
1 parent f4e7963 commit bc85901
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions readme.md
Expand Up @@ -51,10 +51,11 @@ Variable | Default | Description
`SLACK_EMOJI` | `:headphones:` | Specify which emoji to use in the status
`SLACK_SEPARATOR` | `` | Specify which character to use as a separator between the track name and artist
`TZ` | `UTC` | Set the timezone
`ACTIVE_HOURS_START` | `9` | The hour of the day to start updating your Slack status
`ACTIVE_HOURS_END` | `17` | The hour of the day to stop updating your Slack status
`ACTIVE_HOURS_START` | `8` | The hour of the day to start updating your Slack status
`ACTIVE_HOURS_END` | `18` | The hour of the day to stop updating your Slack status
`UPDATE_INTERVAL` | `1` | The time in minutes to wait until updating your Slack Status
`UPDATE_WEEKENDS` | `undefined` | Provide any value to enable status updates during the weekend
`UPDATE_EXPIRATION` | `15` | The time in minutes to use as a default status expiration length
`SENTRY_DSN` | `undefined` | Optionally provide a Sentry DSN to enable error reporting

## Hosting
Expand Down
4 changes: 2 additions & 2 deletions src/config.ts
Expand Up @@ -6,8 +6,8 @@ const {
SLACK_EMOJI = ':headphones:',
SLACK_SEPARATOR = '•',
TZ = 'Australia/Melbourne',
ACTIVE_HOURS_START = '9',
ACTIVE_HOURS_END = '17',
ACTIVE_HOURS_START = '8',
ACTIVE_HOURS_END = '18',
UPDATE_INTERVAL = '1',
UPDATE_WEEKENDS,
SENTRY_DSN
Expand Down

0 comments on commit bc85901

Please sign in to comment.