Skip to content

About

Haskell bindings to the Slack RTM API

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Bindings to the Slack RTM API.

More information can be found here

Example

module EchoBot where

import Web.Slack
import Web.Slack.Message

myConfig :: SlackConfig
myConfig = SlackConfig
         { slackApiToken = "..." -- Specify your API token here
         }


echoBot :: SlackBot ()
echoBot (Message cid _ msg _ _ _) = sendMessage cid msg
echoBot _ = return ()

main :: IO ()
main = runBot myConfig echoBot ()

About

Haskell bindings to the Slack RTM API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages