【发布时间】:2017-10-16 11:36:15
【问题描述】:
我写了以下hubot脚本来发送提醒。
OUT_CHANNEL = "remind"
module.exports = (robot) ->
robot.hear /test/, (res) ->
res.send "set reminder. I tell you at ##{OUT_CHANNEL} after this."
...
此脚本发送以下消息。
"set reminder. I tell you at #remind after this."
但是这种情况下,#remind 的部分不是链接。
如何像人工发送一样在hubot消息中嵌入频道链接?
环境如下:
hubot 2.19.0
hubot-slack 3.4.2
松弛客户端 1.4.0
Slack.app 2.5.2
【问题讨论】:
标签: coffeescript slack hubot