Slack messaging #169

Merged
bones7242 merged 11 commits from slack-messaging into master 2017-09-21 21:11:32 +02:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit cfe608c9ce - Show all commits

View file

@ -10,7 +10,7 @@
},
"Logging": {
"LogLevel": "silly",
"SlackErrorChannel": "staging_speech-errors",
"SlackErrorChannel": "#staging_speech-errors",
"SlackInfoChannel": "none"
}
}

View file

@ -10,7 +10,7 @@
},
"Logging": {
"LogLevel": "verbose",
"SlackErrorChannel": "speech-errors",
"SlackInfoChannel": "speech-logs"
"SlackErrorChannel": "#speech-errors",
"SlackInfoChannel": "#speech-logs"
}
}

View file

@ -1,7 +1,7 @@
const config = require('config');
const SLACK_WEB_HOOK = config.get('Logging.SlackWebHook');
const SLACK_ERROR_CHANNEL = config.get('Logging.SlackErrorChannel');
const SLACK_INFO_CHANNEL = config.get('Logging.SlackLogsChannel');
const SLACK_INFO_CHANNEL = config.get('Logging.SlackInfoChannel');
const winstonSlackWebHook = require('winston-slack-webhook').SlackWebHook;
module.exports = (winston) => {