Hubot 与 Slack 的集成

Hubot integration with Slack

我正在尝试将 Hubot 与 Slack 集成并按照步骤 as mentioned here 进行操作,但是我没有收到任何连接消息。也没有错误。是什么导致了这种行为?

PS C:\Users\myuserid\Projects\mybots> bin/hubot -a slack
npm WARN hubot-help@0.2.2 requires a peer of coffee-script@^1.12.6 but none was installed.

up to date in 2.764s
warn: SlackDataStore is deprecated and will be removed in the next major version. See project documentation for a migration guide.
warn: SlackDataStore is deprecated and will be removed in the next major version. See project documentation for a migration guide.

嘿,我想你错过了 运行 命令中的 API 令牌密钥。命令应该是。

HUBOT_SLACK_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ./bin/hubot --adapter slack

如果一切顺利,您会看到这样的消息。

 INFO Connected to Slack RTM

您可以关注 this well explained tutorial 将 Hubot 与 Slack 集成。