Skip to content

Commit 387e1b9

Browse files
committedJul 19, 2016
Replacing BOT_TOKEN by SLACK_TOKEN
1 parent 8cae226 commit 387e1b9

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed
 

‎Procfile

-1
This file was deleted.

‎src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
let TwigBot = require('./TwigBot')
44
let MessageScheduler = require('./MessageScheduler')
55

6-
const token = process.env.BOT_TOKEN
6+
const token = process.env.SLACK_TOKEN
77

88
try {
99
let twigBot = new TwigBot(token)

‎test/TwigBot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('TwigBot', () => {
1414
it('should send message', () => {
1515
let sentChannel, sentMessage
1616

17-
let twigBot = new TwigBot(process.env.BOT_TOKEN)
17+
let twigBot = new TwigBot(process.env.SLACK_TOKEN)
1818
twigBot.postMessageToChannel = (channel, message) => {
1919
sentChannel = channel
2020
sentMessage = message

0 commit comments

Comments
 (0)
Please sign in to comment.