Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated readme and config example to be a bit more clear
- Loading branch information
1 parent
6c263e8
commit 3b69e31
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
var config = { | ||
// App related configuration | ||
app: { | ||
// Setup channels and times you would like the bot to announce OoO users | ||
// Example: To announce every 8am in the #general channel | ||
// announce: { | ||
// channels: [ 'general' ], | ||
// times: [ '8:00' ] | ||
// } | ||
announce: { | ||
channels: [], // no need to include # | ||
times: [] // 24 hours | ||
times: [] // 24 hours, so 1:00 pm is 13:00 | ||
} | ||
}, | ||
// Slack related configuraton | ||
slack: { | ||
token: 'xoxb-foo', | ||
autoReconnect: true | ||
token: 'xoxb-foo', // The token for your slack bot | ||
autoReconnect: true // if you want the bot to attempt reconnection | ||
} | ||
}; | ||
module.exports = config; |