mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 22:13:32 -04:00
Use correct Slack bot profile for server messages
This commit is contained in:
parent
50171a5b02
commit
ec50bbab40
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ module.exports.sendSlackMessage = sendSlackMessage = (message, rooms=['tower'],
|
|||
channel: channel
|
||||
token: token
|
||||
text: message
|
||||
as_user: true
|
||||
if options.papertrail
|
||||
secondsFromEpoch = Math.floor(new Date().getTime() / 1000)
|
||||
link = "https://papertrailapp.com/groups/488214/events?time=#{secondsFromEpoch}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue