项目作者: blovato

项目描述 :
slack slash integration for working with words
高级语言: JavaScript
项目地址: git://github.com/blovato/define.git
创建时间: 2016-12-10T03:17:12Z
项目社区:https://github.com/blovato/define

开源协议:

下载


/define slack slash command

/define [word]
A slack slash integration for getting the dictionary definition of words

Example

Development

Install Dependencies

  1. $ npm install

Running Locally with Slack

  1. Start the express server by running:

    1. $ npm start
  2. Start a server tunneling service like ngrok to expose a public url that Slack can request from.

  3. Configure a slack slash command for a slack team that you have permissions to in, which points to your running ngrok tunnel (ex. http://942b2fa3.ngrok.io/define).

  4. :rocket: In your slack team messages and channels you should have access to the /define [word] command.