如何为一系列日期设置Slack提醒

时间:2016-12-20 15:35:27

标签: slack reminders

例如,我希望每天都能在特定频道中显示提醒信息。类似的东西:

/remind #channel @me will be on PTO 1/1/2016 until 1/5/2016

然后在该范围内的每一天都会在频道中显示提醒日期范围。

实现该命令/尽可能接近的命令/语法是什么?

1 个答案:

答案 0 :(得分:5)

以下工作。

 Error: Could not find source map for: "C:\Users\Ken\Documents\codeCoverage\karma.entry.js"
    at C:\Users\Ken\Documents\codeCoverage\node_modules\remap-istanbul\lib\remap.js:213:11
    at Array.forEach (native)
    at C:\Users\Ken\Documents\codeCoverage\node_modules\remap-istanbul\lib\remap.js:192:22
    at Array.forEach (native)
    at remap (C:\Users\Ken\Documents\codeCoverage\node_modules\remap-istanbul\lib\remap.js:191:12)
    at KarmaRemapIstanbul.onRunComplete (C:\Users\Ken\Documents\codeCoverage\node_modules\karma-remap-istanbul\index.js:55:21)
    at Server.<anonymous> (C:\Users\Ken\Documents\codeCoverage\node_modules\karma\lib\events.js:13:22)
    at emitTwo (events.js:111:20)
    at Server.emit (events.js:191:7)
    at emitRunCompleteIfAllBrowsersDone (C:\Users\Ken\Documents\codeCoverage\node_modules\karma\lib\server.js:294:12)
    at Server.<anonymous> (C:\Users\Ken\Documents\codeCoverage\node_modules\karma\lib\server.js:325:7)
    at emitOne (events.js:96:13)
    at Server.emit (events.js:188:7)
    at Server.<anonymous> (C:\Users\Ken\Documents\codeCoverage\node_modules\karma\lib\server.js:308:12)
    at emitOne (events.js:101:20)
    at Server.emit (events.js:188:7)
20 12 2016 09:48:20.311:ERROR [karma]: TypeError: Cannot read property 'text' of undefined
    at C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\report\html.js:288:53
    at Array.forEach (native)
    at annotateBranches (C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\report\html.js:255:30)
    at HtmlReport.writeDetailPage (C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\report\html.js:426:9)
    at C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\report\html.js:489:26
    at SyncFileWriter.writeFile (C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\util\file-writer.js:57:9)
    at FileWriter.writeFile (C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\util\file-writer.js:147:23)
    at C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\report\html.js:488:24
    at Array.forEach (native)
    at HtmlReport.writeFiles (C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\report\html.js:482:23)
    at C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\report\html.js:484:22
    at Array.forEach (native)
    at HtmlReport.writeFiles (C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\report\html.js:482:23)
    at HtmlReport.writeReport (C:\Users\Ken\Documents\codeCoverage\node_modules\istanbul\lib\report\html.js:566:14)
    at C:\Users\Ken\Documents\codeCoverage\node_modules\remap-istanbul\lib\writeReport.js:77:22
    at C:\Users\Ken\Documents\codeCoverage\node_modules\remap-istanbul\node_modules\amdefine\amdefine.js:125:34

导致以下工作日上午9点在#channel

发布以下内容
  

&#34; @me将于2016年1月1日至2016年5月1日在PTO上发布。&#34;