發表文章

目前顯示的是 7月, 2016的文章

Hubot x Slack,製作自動回話與工作的機器人

圖片
Hubot x Slack,製作自動回話與工作的機器人 Hubot x Slack 串接紀錄。 安裝 Hubot 按照 官方文件 的指示一步步安裝。安裝完後,便可用command line與robot互動。使用 bin/hubot 啟動robot。可以使用 hubot help 看看預設有什麼功能可以使用。 安裝 Hubot 的 Slack Adapter 按照 hubot-slack 安裝 Hubot 的 Slack Adapter。安裝完後,要到Slack的Hubot App設定。這邊因為找了滿久的,所以截圖詳細記錄一下。 Slack的Hubot App設定 先從「Apps & integrations」到「App Directory」,然後搜尋「hubot」。 Apps & integrations App Directory,搜尋「hubot」 新增app 這邊因為我已經新增好了,所以只能截圖設定完畢的樣子。 取得token 啟動robot時必須附上token。