/slackbot

my slackbot

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

my slackbot

using in info-mie-u.slack.com

How to build

Haskell-stack is required.

  1. git clone https://github.com/kentahama/slackbot.git && cd slackbot
  2. Save the following YAML setting into stack.yaml
  3. stack build
resolver: lts-7.19   # you can change this
packages:
- '.'
- location: https://github.com/kentahama/slack-api/archive/511448242cd59c9f6d00ffdc1dc37923e34d7bfb.tar.gz
  extra-dep: true

How to execute

  1. cd work
  2. env SLACK_API_TOKEN=xxx-xxxxxx-xxxxxxxx stack exec slackbot