Popularity
9.3
Declining
Activity
0.0
Stable
66
14
48
Monthly Downloads: 32
Programming language: Haskell
License: MIT License
Latest version: v0.12
slack-api alternatives and similar packages
Based on the "slack" category.
Alternatively, view slack-api alternatives based on common mentions on social networks and blogs.
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Promo
www.sonarlint.org
Do you think we are missing an alternative of slack-api or a related project?
README
Bindings to the Slack RTM API.
These bindings were developed whilst I was interning at Borders.
More information can be found here
Example
module EchoBot where
import System.Environment (lookupEnv)
import Web.Slack
main :: IO ()
main = do
Just token <- lookupEnv "SLACK_API_TOKEN"
let config = SlackConfig { _slackApiToken = token }
withSlackHandle config echoBot
echoBot :: SlackHandle -> IO ()
echoBot h = forever $ do
event <- getNextEvent h
case event of
(Message cid _ msg _ _ _) -> sendMessage h cid msg
_ -> return ()