Closed luke-john closed 8 years ago
So
let apiToken = process.env.SLACK_BOT_USER_API_TOKEN || config.slackBotUserApiToken;
would become
let apiToken = process.env.SLACK_BOT_USER_API_TOKEN;
https://github.com/fendersperth/fendersbot/blob/0081a8d0fc7769e133ba33715a7c4b6e6016c936/lib/slack.js#L8
Sounds more standard :P Wanna do a PR for this?
So
would become
https://github.com/fendersperth/fendersbot/blob/0081a8d0fc7769e133ba33715a7c4b6e6016c936/lib/slack.js#L8