danibot-0.2.0.0: Basic Slack bot framework.
Network.Danibot.Main
Synopsis
mainWith :: IO (Either String (Text -> IO Text)) -> IO () Source
Create a main from an action that either fails with an error or returns a handler for incoming messages.
readJSON :: FromJSON a => FilePath -> IO a Source
Read a configuration value from a JSON file.