Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
BotConfig | |
|
data BotCommand Source #
AddPrompt Prompt | |
SetLive Prompt | |
List Int Int | |
CurrentBattle | |
AddData Text Text | |
RemoveData Text Text | |
SearchPrompts Text | |
TestPrompt Int | |
SetPrompt Int | |
LastRoundWinners | |
NextUp |
Instances
Eq BotCommand Source # | |
Defined in Kurita.Bot.Types (==) :: BotCommand -> BotCommand -> Bool # (/=) :: BotCommand -> BotCommand -> Bool # | |
Ord BotCommand Source # | |
Defined in Kurita.Bot.Types compare :: BotCommand -> BotCommand -> Ordering # (<) :: BotCommand -> BotCommand -> Bool # (<=) :: BotCommand -> BotCommand -> Bool # (>) :: BotCommand -> BotCommand -> Bool # (>=) :: BotCommand -> BotCommand -> Bool # max :: BotCommand -> BotCommand -> BotCommand # min :: BotCommand -> BotCommand -> BotCommand # | |
Show BotCommand Source # | |
Defined in Kurita.Bot.Types showsPrec :: Int -> BotCommand -> ShowS # show :: BotCommand -> String # showList :: [BotCommand] -> ShowS # |
parseObject :: FromJSON a => Object -> Parser a Source #
data MessageReply Source #
Instances
Eq MessageReply Source # | |
Defined in Kurita.Bot.Types (==) :: MessageReply -> MessageReply -> Bool # (/=) :: MessageReply -> MessageReply -> Bool # | |
Ord MessageReply Source # | |
Defined in Kurita.Bot.Types compare :: MessageReply -> MessageReply -> Ordering # (<) :: MessageReply -> MessageReply -> Bool # (<=) :: MessageReply -> MessageReply -> Bool # (>) :: MessageReply -> MessageReply -> Bool # (>=) :: MessageReply -> MessageReply -> Bool # max :: MessageReply -> MessageReply -> MessageReply # min :: MessageReply -> MessageReply -> MessageReply # | |
Show MessageReply Source # | |
Defined in Kurita.Bot.Types showsPrec :: Int -> MessageReply -> ShowS # show :: MessageReply -> String # showList :: [MessageReply] -> ShowS # | |
FromJSON MessageReply Source # | |
Defined in Kurita.Bot.Types parseJSON :: Value -> Parser MessageReply parseJSONList :: Value -> Parser [MessageReply] |