Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
KuritaBot | |
|
loadKBotConfig :: FilePath -> FilePath -> (ByteString -> Word64) -> BotConfig -> IO (Bracket c Int64 KuritaGame) -> (Text -> IO ()) -> IO (KuritaBot c) Source #
runBotCommand :: Ord c => (c -> Text) -> KuritaBot c -> BotCommand -> IO () Source #
parseKBotMessage :: Text -> Either Text BotCommand Source #